diff --git a/src/helper/types.h b/src/helper/types.h
index ece56264274ac42be4f0890d25efc2809407f8ab..75b2ad1b863bdcc3b860896fd7dfe19b77339996 100644
--- a/src/helper/types.h
+++ b/src/helper/types.h
@@ -26,25 +26,7 @@
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
-#ifdef HAVE_STDINT_H
 #include <stdint.h>
-#endif
-
-#ifndef uint8_t
-typedef unsigned char uint8_t;
-#endif
-
-#ifndef uint16_t
-typedef unsigned short uint16_t;
-#endif
-
-#ifndef uint32_t
-typedef unsigned int uint32_t;
-#endif
-
-#ifndef uint64_t
-typedef unsigned long long uint64_t;
-#endif
 
 typedef struct jtag_tap_s jtag_tap_t;