summaryrefslogtreecommitdiff
path: root/src/helper/types.h
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 /src/helper/types.h
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
Diffstat (limited to 'src/helper/types.h')
-rw-r--r--src/helper/types.h3
1 files changed, 3 insertions, 0 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;