diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/gnu')
-rw-r--r-- | sysdeps/unix/sysv/linux/gnu/types.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/gnu/types.h b/sysdeps/unix/sysv/linux/gnu/types.h index 7876c408c4..4f1b0961ee 100644 --- a/sysdeps/unix/sysv/linux/gnu/types.h +++ b/sysdeps/unix/sysv/linux/gnu/types.h @@ -19,8 +19,10 @@ Cambridge, MA 02139, USA. */ #ifndef _GNU_TYPES_H #define _GNU_TYPES_H 1 -/* Get actual type definitions for architecture from kernel headers. */ -#include <linux/posix_types.h> +/* Get actual type definitions for architecture from kernel headers. + This #define tells <linux/types.h> not to define `dev_t' et al itself. */ +#define _LINUX_TYPES_DONT_EXPORT +#include <linux/types.h> /* Convenience types. */ typedef unsigned char __u_char; |