summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helper/types.h3
-rw-r--r--src/jtag/rlink/rlink.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/helper/types.h b/src/helper/types.h
index 8ee41105..813f6f25 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 2993fc08..683a1545 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. */