summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-21 22:22:39 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-21 22:22:39 +0000
commit24966300c26230df7a7cdf5f1c1562091a8a821f (patch)
tree6153f8a1d85bf35362c6800e73e19553c98b0a45 /libc/sysdeps/linux/common
parentecc0d4065a6e905858828eabf78e15cdaaac1aab (diff)
downloaduClibc-alpine-24966300c26230df7a7cdf5f1c1562091a8a821f.tar.bz2
uClibc-alpine-24966300c26230df7a7cdf5f1c1562091a8a821f.tar.xz
- pull r24946 from trunk (remove unavailable functionality; psm)
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)