summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-12 08:24:47 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-12 08:24:47 +0000
commitdd85eebf2225ee77dedd679f745c7fb1975d8203 (patch)
treeceaf18c2a216ea17699fb1c8779f1ffd0678014a
parent85f97341032177d4cc909377edb3580bc6a57245 (diff)
downloadopenocd_libswd-dd85eebf2225ee77dedd679f745c7fb1975d8203.tar.gz
openocd_libswd-dd85eebf2225ee77dedd679f745c7fb1975d8203.tar.bz2
openocd_libswd-dd85eebf2225ee77dedd679f745c7fb1975d8203.tar.xz
openocd_libswd-dd85eebf2225ee77dedd679f745c7fb1975d8203.zip
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
-rw-r--r--configure.in4
-rw-r--r--src/helper/replacements.h1
2 files changed, 4 insertions, 1 deletions
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