summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-21 22:21:40 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-21 22:21:40 +0000
commitfa28fa191177b769a621f22f141d3d7515737b40 (patch)
treea2224c0b82c3a1771abc98173fd00799893b1f1e /libc/sysdeps/linux/common
parent3f1adc3da04a7809171c3990770d72f28c5d80e4 (diff)
- remove unavailable functionality upon request (Peter Mazinger)
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/bits/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/bits/types.h b/libc/sysdeps/linux/common/bits/types.h
index 755af2ec9..141db43d3 100644
--- a/libc/sysdeps/linux/common/bits/types.h
+++ b/libc/sysdeps/linux/common/bits/types.h
@@ -29,7 +29,9 @@
#define __need_size_t
#include <stddef.h>
+#ifdef UCLIBC_INTERNAL
#include <bits/kernel_types.h>
+#endif
/* Convenience types. */
typedef unsigned char __u_char;
@@ -198,8 +200,10 @@ __STD_TYPE __U32_TYPE __socklen_t;
#undef __STD_TYPE
+#ifdef UCLIBC_INTERNAL
/* Used in `struct shmid_ds'. */
typedef __kernel_ipc_pid_t __ipc_pid_t;
+#endif
/* Now add the thread types. */
#if defined __UCLIBC_HAS_THREADS__ && (defined __USE_POSIX199506 || defined __USE_UNIX98)