diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-12 10:52:01 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-12 10:52:01 +0000 |
commit | 46d13ccc3b75b4df79b329c0fb8737f55afff092 (patch) | |
tree | 3bc6cd9da4e221e69eb38f3dd424346bd14ef9f0 /src | |
parent | 14f3548ff2c4f9d208e2bac129a5ab1bd9a09f19 (diff) | |
download | riscv-openocd-46d13ccc3b75b4df79b329c0fb8737f55afff092.zip riscv-openocd-46d13ccc3b75b4df79b329c0fb8737f55afff092.tar.gz riscv-openocd-46d13ccc3b75b4df79b329c0fb8737f55afff092.tar.bz2 |
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')
-rw-r--r-- | src/helper/types.h | 3 | ||||
-rw-r--r-- | src/jtag/rlink/rlink.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/helper/types.h b/src/helper/types.h index 8ee4110..813f6f2 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 2993fc0..683a154 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. */ |