summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-12 10:52:01 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-12 10:52:01 +0000
commit46d13ccc3b75b4df79b329c0fb8737f55afff092 (patch)
tree3bc6cd9da4e221e69eb38f3dd424346bd14ef9f0
parent14f3548ff2c4f9d208e2bac129a5ab1bd9a09f19 (diff)
downloadopenocd+libswd-46d13ccc3b75b4df79b329c0fb8737f55afff092.tar.gz
openocd+libswd-46d13ccc3b75b4df79b329c0fb8737f55afff092.tar.bz2
openocd+libswd-46d13ccc3b75b4df79b329c0fb8737f55afff092.tar.xz
openocd+libswd-46d13ccc3b75b4df79b329c0fb8737f55afff092.zip
Add stdint.h to types.h to provide intptr_t.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1765 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/helper/types.h3
-rw-r--r--src/jtag/rlink/rlink.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/helper/types.h b/src/helper/types.h
index 8ee41105..813f6f25 100644
--- a/src/helper/types.h
+++ b/src/helper/types.h
@@ -26,6 +26,9 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#ifndef u8
typedef unsigned char u8;
diff --git a/src/jtag/rlink/rlink.c b/src/jtag/rlink/rlink.c
index 2993fc08..683a1545 100644
--- a/src/jtag/rlink/rlink.c
+++ b/src/jtag/rlink/rlink.c
@@ -36,7 +36,6 @@
/* system includes */
#include <usb.h>
-#include <stdint.h>
/* This feature is made useless by running the DTC all the time. When automatic, the LED is on whenever the DTC is running. Otherwise, USB messages are sent to turn it on and off. */