summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/gnu/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/gnu/types.h')
-rw-r--r--sysdeps/unix/sysv/linux/gnu/types.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/gnu/types.h b/sysdeps/unix/sysv/linux/gnu/types.h
index 402df2aa4c..0bc072b092 100644
--- a/sysdeps/unix/sysv/linux/gnu/types.h
+++ b/sysdeps/unix/sysv/linux/gnu/types.h
@@ -19,10 +19,9 @@ Cambridge, MA 02139, USA. */
#ifndef _GNU_TYPES_H
#define _GNU_TYPES_H 1
-/* Get actual type definitions for architecture from kernel headers.
- This #define tells <linux/types.h> not to define `dev_t' et al itself. */
-#define __KERNEL_STRICT_NAMES
-#define _LINUX_TYPES_DONT_EXPORT
+#include <features.h>
+
+/* Get actual type definitions for architecture from kernel headers. */
#include <linux/types.h>
/* Convenience types. */