summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/alpha/bits
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-24 01:07:33 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-24 01:07:33 +0000
commit6d8239f2086f689ac20607af40c78b17acab7018 (patch)
tree1d0849fce1ff4c175960a87cc2a175842335e6b8 /libc/sysdeps/linux/alpha/bits
parent20d498e06a8f941c435ce06df9e2e9c1b061e0c4 (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/alpha/bits')
-rw-r--r--libc/sysdeps/linux/alpha/bits/types.h10
1 files changed, 1 insertions, 9 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;