From 78c1465ed309d2e8937dc00a19635f40c8a4b05a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 21 Apr 2011 12:35:34 +0200 Subject: add #include to all source files When using config.h, it must be the very first include in all source files since it contains #define that may change the compilation process (eg libc structure layout changes when it's used to enable large file support on 32 bit x86 archs). This commit adds it at the beginning of all .c and .cpp files --- server/red_memslots.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/red_memslots.c') diff --git a/server/red_memslots.c b/server/red_memslots.c index 8c9810d8..d98f38c1 100644 --- a/server/red_memslots.c +++ b/server/red_memslots.c @@ -15,6 +15,9 @@ You should have received a copy of the GNU Lesser General Public License along with this library; if not, see . */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "red_common.h" #include "red_memslots.h" -- cgit