]> git.sur5r.net Git - openocd/commitdiff
Oyvind Harboe <oyvind.harboe@zylin.com>:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 18 Jun 2009 10:42:40 +0000 (10:42 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 18 Jun 2009 10:42:40 +0000 (10:42 +0000)
Ecos uses sys/types.h not stdint.h.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2286 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/types.h

index 75b2ad1b863bdcc3b860896fd7dfe19b77339996..11b97f61e9f0b8f9b488b2732ac0ae10006602fd 100644 (file)
@@ -26,7 +26,9 @@
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
+#endif
 
 typedef struct jtag_tap_s jtag_tap_t;