From 6d8239f2086f689ac20607af40c78b17acab7018 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 24 Aug 2002 01:07:33 +0000 Subject: Break dependancy of bits/types.h on the asm/posix_types.h kernel header, which is not directly usable for many architectures. -Erik --- libc/sysdeps/linux/alpha/bits/types.h | 10 +--------- libc/sysdeps/linux/mips/bits/types.h | 10 +--------- libc/sysdeps/linux/powerpc/bits/types.h | 10 +--------- libc/sysdeps/linux/sparc/bits/types.h | 10 +--------- 4 files changed, 4 insertions(+), 36 deletions(-) (limited to 'libc/sysdeps/linux') 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 - -/* Sigh. We need to carefully wrap this one... */ -#ifndef __GLIBC__ -#define __GLIBC__ 2 -#include -#undef __GLIBC__ -#else -#include -#endif +#include /* 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 - -/* Sigh. We need to carefully wrap this one... */ -#ifndef __GLIBC__ -#define __GLIBC__ 2 -#include -#undef __GLIBC__ -#else -#include -#endif +#include /* 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 - -/* Sigh. We need to carefully wrap this one... */ -#ifndef __GLIBC__ -#define __GLIBC__ 2 -#include -#undef __GLIBC__ -#else -#include -#endif +#include /* 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 #include - -/* Sigh. We need to carefully wrap this one... */ -#ifndef __GLIBC__ -#define __GLIBC__ 2 -#include -#undef __GLIBC__ -#else -#include -#endif +#include /* Convenience types. */ typedef unsigned char __u_char; -- cgit v1.2.3