diff options
-rw-r--r-- | libc/sysdeps/linux/alpha/bits/types.h | 10 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/bits/types.h | 10 | ||||
-rw-r--r-- | libc/sysdeps/linux/powerpc/bits/types.h | 10 | ||||
-rw-r--r-- | libc/sysdeps/linux/sparc/bits/types.h | 10 |
4 files changed, 4 insertions, 36 deletions
diff --git a/libc/sysdeps/linux/alpha/bits/types.h b/libc/sysdeps/linux/alpha/bits/types.h index f4ddef749..c5e98c5a0 100644 --- a/libc/sysdeps/linux/alpha/bits/types.h +++ b/libc/sysdeps/linux/alpha/bits/types.h @@ -27,15 +27,7 @@ #define __need_size_t #include <stddef.h> - -/* Sigh. We need to carefully wrap this one... */ -#ifndef __GLIBC__ -#define __GLIBC__ 2 -#include <asm/posix_types.h> -#undef __GLIBC__ -#else -#include <asm/posix_types.h> -#endif +#include <bits/kernel_types.h> /* Convenience types. */ typedef unsigned char __u_char; diff --git a/libc/sysdeps/linux/mips/bits/types.h b/libc/sysdeps/linux/mips/bits/types.h index a7eed7768..d879194ce 100644 --- a/libc/sysdeps/linux/mips/bits/types.h +++ b/libc/sysdeps/linux/mips/bits/types.h @@ -27,15 +27,7 @@ #define __need_size_t #include <stddef.h> - -/* Sigh. We need to carefully wrap this one... */ -#ifndef __GLIBC__ -#define __GLIBC__ 2 -#include <asm/posix_types.h> -#undef __GLIBC__ -#else -#include <asm/posix_types.h> -#endif +#include <bits/kernel_types.h> /* Convenience types. */ typedef unsigned char __u_char; diff --git a/libc/sysdeps/linux/powerpc/bits/types.h b/libc/sysdeps/linux/powerpc/bits/types.h index 99c882cfc..72ed269ff 100644 --- a/libc/sysdeps/linux/powerpc/bits/types.h +++ b/libc/sysdeps/linux/powerpc/bits/types.h @@ -27,15 +27,7 @@ #define __need_size_t #include <stddef.h> - -/* Sigh. We need to carefully wrap this one... */ -#ifndef __GLIBC__ -#define __GLIBC__ 2 -#include <asm/posix_types.h> -#undef __GLIBC__ -#else -#include <asm/posix_types.h> -#endif +#include <bits/kernel_types.h> /* Convenience types. */ typedef unsigned char __u_char; diff --git a/libc/sysdeps/linux/sparc/bits/types.h b/libc/sysdeps/linux/sparc/bits/types.h index aa62b0e77..dcddd8e6a 100644 --- a/libc/sysdeps/linux/sparc/bits/types.h +++ b/libc/sysdeps/linux/sparc/bits/types.h @@ -28,15 +28,7 @@ #define __need_size_t #include <stddef.h> #include <bits/wordsize.h> - -/* Sigh. We need to carefully wrap this one... */ -#ifndef __GLIBC__ -#define __GLIBC__ 2 -#include <asm/posix_types.h> -#undef __GLIBC__ -#else -#include <asm/posix_types.h> -#endif +#include <bits/kernel_types.h> /* Convenience types. */ typedef unsigned char __u_char; |