diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-24 01:07:33 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-24 01:07:33 +0000 |
commit | 6d8239f2086f689ac20607af40c78b17acab7018 (patch) | |
tree | 1d0849fce1ff4c175960a87cc2a175842335e6b8 /libc/sysdeps/linux/sparc/bits | |
parent | 20d498e06a8f941c435ce06df9e2e9c1b061e0c4 (diff) |
Break dependancy of bits/types.h on the asm/posix_types.h kernel
header, which is not directly usable for many architectures.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/sparc/bits')
-rw-r--r-- | libc/sysdeps/linux/sparc/bits/types.h | 10 |
1 files changed, 1 insertions, 9 deletions
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; |