[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43718] trunk/blender/source/blender/avi/ intern/endian.c: Fix implicit declaration of guardedalloc functions in avi' s endian.c.

Sergey Sharybin sergey.vfx at gmail.com
Thu Jan 26 11:59:44 CET 2012


Revision: 43718
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43718
Author:   nazgul
Date:     2012-01-26 10:59:31 +0000 (Thu, 26 Jan 2012)
Log Message:
-----------
Fix implicit declaration of guardedalloc functions in avi's endian.c.
Discovered by debian building system.

Modified Paths:
--------------
    trunk/blender/source/blender/avi/intern/endian.c

Modified: trunk/blender/source/blender/avi/intern/endian.c
===================================================================
--- trunk/blender/source/blender/avi/intern/endian.c	2012-01-26 10:42:15 UTC (rev 43717)
+++ trunk/blender/source/blender/avi/intern/endian.c	2012-01-26 10:59:31 UTC (rev 43718)
@@ -43,6 +43,10 @@
 #include "avi_intern.h"
 
 #ifdef __BIG_ENDIAN__
+#include "MEM_guardedalloc.h"
+#endif
+
+#ifdef __BIG_ENDIAN__
 static void invert (int *num)
 {
 	int new=0,i,j;



More information about the Bf-blender-cvs mailing list