Make system.h private by including it from config.h autoheader.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 12 May 2009 08:24:47 +0000 (08:24 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Tue, 12 May 2009 08:24:47 +0000 (08:24 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1759 b42882b7-edfa-0310-969c-e2dbd0fdcd60

configure.in
src/helper/replacements.h

index 875212e25f74c36c81d2d1cef3e43bdd5b2a1763..0157ed385c1941e06a66820a9babd0c95d0ebdea 100644 (file)
@@ -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
 
index 4aab65fef2db7560f66730d629dc3dfb2375e989..34e5daa44fd209ef4e0137c1373583146567f286 100644 (file)
@@ -27,7 +27,6 @@
 #define REPLACEMENTS_H
 
 #include "types.h"
-#include "system.h"
 
 /* MIN,MAX macros */
 #ifndef MIN