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
This commit is contained in:
zwelch 2009-05-12 10:52:01 +00:00
parent 14f3548ff2
commit 46d13ccc3b
2 changed files with 3 additions and 1 deletions

View File

@ -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;

View File

@ -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. */