summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-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)