From 0fbadc8eb7c93e10902cc4357a42dcd73c0a076b Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 25 Nov 2002 09:53:07 +0000 Subject: Yes I did it again ;) added the following 3 lines to everything in the intern dir: #ifdef HAVE_CONFIG_H #include #endif Kent -- mein@cs.umn.edu --- intern/guardedalloc/MEM_guardedalloc.h | 4 ++++ intern/guardedalloc/intern/mallocn.c | 4 ++++ intern/guardedalloc/test/simpletest/memtest.c | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'intern/guardedalloc') 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 +#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 +#ifdef HAVE_CONFIG_H +#include +#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 #include "MEM_guardedalloc.h" +#ifdef HAVE_CONFIG_H +#include +#endif + int main (int argc, char *argv[]) { int verbose = 0; -- cgit v1.2.3