diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-11-25 12:53:07 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-11-25 12:53:07 +0300 |
commit | 0fbadc8eb7c93e10902cc4357a42dcd73c0a076b (patch) | |
tree | 66eca67171025b24578bda6cb5484a141d894a30 /intern/guardedalloc | |
parent | d44f2c6dcc8fbd38790166da79e930e6d79abd08 (diff) |
Yes I did it again ;)
added the following 3 lines to everything in the intern dir:
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
Kent
--
mein@cs.umn.edu
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; |