summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/__syscall_fcntl64.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-14 17:52:28 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-01-14 17:52:28 +0100
commita586f419f5195ee5d7cb69c9c40263e01aec4289 (patch)
treea04db334c34936574f6256d96f62337bce46b3e7 /libc/sysdeps/linux/common/__syscall_fcntl64.c
parenteddbf38ca49a4f03fc4e86737ea2ff62f33fac50 (diff)
LT.old: reinstate build
As noted by Florian Fainelli: LD libpthread-0.9.34-git.so libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.oS): In function `fcntl64': wrapsyscall.c:(.text+0xd8): undefined reference to `__libc_fcntl64' libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.oS): In function `lseek64': wrapsyscall.c:(.text+0x190): undefined reference to `__libc_lseek64' libpthread/linuxthreads.old/libpthread_so.a(wrapsyscall.oS): In function `pread64': wrapsyscall.c:(.text+0x39c): undefined reference to `__libc_pread64' Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/__syscall_fcntl64.c')
-rw-r--r--libc/sysdeps/linux/common/__syscall_fcntl64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/__syscall_fcntl64.c b/libc/sysdeps/linux/common/__syscall_fcntl64.c
index 5174d8ade..eaef22b3b 100644
--- a/libc/sysdeps/linux/common/__syscall_fcntl64.c
+++ b/libc/sysdeps/linux/common/__syscall_fcntl64.c
@@ -13,8 +13,8 @@
#if defined __NR_fcntl64 && __WORDSIZE == 32
# include <stdarg.h>
-# include <fcntl.h>
# include <cancel.h>
+# include <fcntl.h>
# define __NR___fcntl64_nocancel __NR_fcntl64
_syscall3(int, __NC(fcntl64), int, fd, int, cmd, long, arg)