From dd85eebf2225ee77dedd679f745c7fb1975d8203 Mon Sep 17 00:00:00 2001 From: zwelch Date: Tue, 12 May 2009 08:24:47 +0000 Subject: [PATCH] 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 --- configure.in | 4 ++++ src/helper/replacements.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 875212e25..0157ed385 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 4aab65fef..34e5daa44 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