about summary refs log tree commit diff
path: root/sysdeps/wordsize-64/inttypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/wordsize-64/inttypes.h')
-rw-r--r--sysdeps/wordsize-64/inttypes.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/wordsize-64/inttypes.h b/sysdeps/wordsize-64/inttypes.h
index b94aff0749..07680d0488 100644
--- a/sysdeps/wordsize-64/inttypes.h
+++ b/sysdeps/wordsize-64/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 int   int64_t;
+#endif
 
 /* Unsigned.  */
 typedef unsigned char       uint8_t;