From: <zw...@ma...> - 2009-05-12 12:52:19
|
Author: zwelch Date: 2009-05-12 12:52:01 +0200 (Tue, 12 May 2009) New Revision: 1765 Modified: trunk/src/helper/types.h trunk/src/jtag/rlink/rlink.c Log: Add stdint.h to types.h to provide intptr_t. Modified: trunk/src/helper/types.h =================================================================== --- trunk/src/helper/types.h 2009-05-12 10:47:48 UTC (rev 1764) +++ trunk/src/helper/types.h 2009-05-12 10:52:01 UTC (rev 1765) @@ -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; Modified: trunk/src/jtag/rlink/rlink.c =================================================================== --- trunk/src/jtag/rlink/rlink.c 2009-05-12 10:47:48 UTC (rev 1764) +++ trunk/src/jtag/rlink/rlink.c 2009-05-12 10:52:01 UTC (rev 1765) @@ -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. */ |