summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/include/stdint.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/include/stdint.h')
-rw-r--r--newlib/libc/sys/linux/include/stdint.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/include/stdint.h b/newlib/libc/sys/linux/include/stdint.h
new file mode 100644
index 000000000..5c89acd22
--- /dev/null
+++ b/newlib/libc/sys/linux/include/stdint.h
@@ -0,0 +1,18 @@
+/* libc/sys/linux/include/stdint.h - Standard integer types */
+
+/* Written 2000 by Werner Almesberger */
+
+
+#ifndef _NEWLIB_STDINT_H
+#define _NEWLIB_STDINT_H
+
+/*
+ * FIXME: linux/types.h defines various types that rightfully belong into
+ * stdint.h. So we have no choice but to include linux/types.h directly, even
+ * if this causes name space pollution. Note: we have to go via sys/types.h
+ * in order to resolve some other compatibility issues.
+ */
+
+#include <sys/types.h>
+
+#endif