From e8ba53ef6fd666e539a97b3a4d61394276f024a8 Mon Sep 17 00:00:00 2001
From: zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Date: Thu, 18 Jun 2009 10:42:40 +0000
Subject: [PATCH] Oyvind Harboe <oyvind.harboe@zylin.com>:

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 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/helper/types.h b/src/helper/types.h
index 75b2ad1b8..11b97f61e 100644
--- a/src/helper/types.h
+++ b/src/helper/types.h
@@ -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;
 
-- 
GitLab