summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-06 20:22:42 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-06 20:22:42 +0000
commiteb813ecafa2405e01e33da29d620e5c10ec63d2c (patch)
tree0d88ca89e3eb2349ad27f98038000c206ef544e5 /libc/sysdeps/linux/common
parentdd3d4f119e0ad55de4486434f12ee8af1618e971 (diff)
bits/kernel_stat.h is for internal uClibc use only, fix a few other
minor include file issues
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/pread_write.c2
-rw-r--r--libc/sysdeps/linux/common/syscalls.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/pread_write.c b/libc/sysdeps/linux/common/pread_write.c
index 2509b7ab6..709125505 100644
--- a/libc/sysdeps/linux/common/pread_write.c
+++ b/libc/sysdeps/linux/common/pread_write.c
@@ -24,6 +24,8 @@ extern __typeof(pread64) __libc_pread64;
extern __typeof(pwrite64) __libc_pwrite64;
#endif
+#include <bits/kernel_types.h>
+
#ifdef __NR_pread
# define __NR___syscall_pread __NR_pread
diff --git a/libc/sysdeps/linux/common/syscalls.h b/libc/sysdeps/linux/common/syscalls.h
index af015246a..c4f6a44fd 100644
--- a/libc/sysdeps/linux/common/syscalls.h
+++ b/libc/sysdeps/linux/common/syscalls.h
@@ -21,3 +21,4 @@
# undef __USE_FILE_OFFSET64
#endif
+#include <bits/kernel_types.h>