From eb813ecafa2405e01e33da29d620e5c10ec63d2c Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 6 Dec 2006 20:22:42 +0000 Subject: bits/kernel_stat.h is for internal uClibc use only, fix a few other minor include file issues --- libc/sysdeps/linux/common/pread_write.c | 2 ++ libc/sysdeps/linux/common/syscalls.h | 1 + 2 files changed, 3 insertions(+) (limited to 'libc/sysdeps/linux/common') 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 + #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 -- cgit v1.2.3