From: zwelch Date: Tue, 12 May 2009 08:24:47 +0000 (+0000) Subject: Make system.h private by including it from config.h autoheader. X-Git-Tag: v0.2.0~750 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd85eebf2225ee77dedd679f745c7fb1975d8203;p=openocd Make system.h private by including it from config.h autoheader. git-svn-id: svn://svn.berlios.de/openocd/trunk@1759 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/configure.in b/configure.in index 875212e2..0157ed38 100644 --- a/configure.in +++ b/configure.in @@ -778,6 +778,10 @@ then fi AM_CONFIG_HEADER(config.h) +AH_BOTTOM([ +#include "system.h" +]) + AM_INIT_AUTOMAKE([-Wall -Wno-portability]) AM_MAINTAINER_MODE diff --git a/src/helper/replacements.h b/src/helper/replacements.h index 4aab65fe..34e5daa4 100644 --- a/src/helper/replacements.h +++ b/src/helper/replacements.h @@ -27,7 +27,6 @@ #define REPLACEMENTS_H #include "types.h" -#include "system.h" /* MIN,MAX macros */ #ifndef MIN