diff options
Diffstat (limited to 'source/blender/readblenfile')
-rw-r--r-- | source/blender/readblenfile/intern/BLO_readblenfile.c | 4 | ||||
-rw-r--r-- | source/blender/readblenfile/stub/BLO_readblenfileSTUB.c | 4 | ||||
-rw-r--r-- | source/blender/readblenfile/test/test.c | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/readblenfile/intern/BLO_readblenfile.c b/source/blender/readblenfile/intern/BLO_readblenfile.c index 9b9bf7d27a3..28937935497 100644 --- a/source/blender/readblenfile/intern/BLO_readblenfile.c +++ b/source/blender/readblenfile/intern/BLO_readblenfile.c @@ -36,6 +36,10 @@ #include <string.h> #include <fcntl.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #ifdef WIN32 #include <io.h> // read, open #else // ! WIN32 diff --git a/source/blender/readblenfile/stub/BLO_readblenfileSTUB.c b/source/blender/readblenfile/stub/BLO_readblenfileSTUB.c index 19ebd4491bb..4c52cb1b77f 100644 --- a/source/blender/readblenfile/stub/BLO_readblenfileSTUB.c +++ b/source/blender/readblenfile/stub/BLO_readblenfileSTUB.c @@ -34,6 +34,10 @@ #include <stdio.h> #include "GEN_messaging.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + int BLO_readblenfilememory( char *fromBuffer, int fromBufferSize) diff --git a/source/blender/readblenfile/test/test.c b/source/blender/readblenfile/test/test.c index 6210cb6f219..5b2a194e0e0 100644 --- a/source/blender/readblenfile/test/test.c +++ b/source/blender/readblenfile/test/test.c @@ -32,6 +32,10 @@ #include <string.h> // strlen #include "BLO_readblenfile.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + struct streamGlueControlStruct *Global_streamGlueControl; int |