diff options
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/MEM_guardedalloc.h | 4 | ||||
-rw-r--r-- | intern/guardedalloc/intern/mallocn.c | 4 | ||||
-rw-r--r-- | intern/guardedalloc/test/simpletest/memtest.c | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index 6280b52059c..2d84be49188 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -61,6 +61,10 @@ #ifndef MEM_MALLOCN_H #define MEM_MALLOCN_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + /* Needed for FILE* */ #include "stdio.h" diff --git a/intern/guardedalloc/intern/mallocn.c b/intern/guardedalloc/intern/mallocn.c index 64bfdea9d9a..f0cc0787a90 100644 --- a/intern/guardedalloc/intern/mallocn.c +++ b/intern/guardedalloc/intern/mallocn.c @@ -38,6 +38,10 @@ #include <stdlib.h> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "MEM_guardedalloc.h" /* --------------------------------------------------------------------- */ diff --git a/intern/guardedalloc/test/simpletest/memtest.c b/intern/guardedalloc/test/simpletest/memtest.c index f2cdc207958..7c5a8230ea7 100644 --- a/intern/guardedalloc/test/simpletest/memtest.c +++ b/intern/guardedalloc/test/simpletest/memtest.c @@ -46,6 +46,10 @@ #include <stdlib.h> #include "MEM_guardedalloc.h" +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + int main (int argc, char *argv[]) { int verbose = 0; |