about summary refs log tree commit diff
path: root/sysdeps/wordsize-32/inttypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-32/inttypes.h')
-rw-r--r--sysdeps/wordsize-32/inttypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/wordsize-32/inttypes.h b/sysdeps/wordsize-32/inttypes.h
index f3029cc823..a2648bf2e2 100644
--- a/sysdeps/wordsize-32/inttypes.h
+++ b/sysdeps/wordsize-32/inttypes.h
@@ -28,10 +28,15 @@
 /* Exact integral types.  */
 
 /* Signed.  */
+
+/* There is some amount of overlap with <sys/types.h> as known by inet code */
+#ifndef __int8_t_defined
+#define __int8_t_defined
 typedef signed char    int8_t;
 typedef short int     int16_t;
 typedef int           int32_t;
 typedef long long int int64_t;
+#endif
 
 /* Unsigned.  */
 typedef unsigned char           uint8_t;