From: Peter S. Mazinger Date: Tue, 25 Oct 2005 19:52:09 +0000 (-0000) Subject: Make use of fcntl64 syscall if possible X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7ce8f67d27885ea6b1cba2c43e5edc9f1dc17f0f;p=uclinux-h8%2FuClibc.git Make use of fcntl64 syscall if possible --- diff --git a/libc/misc/file/lockf64.c b/libc/misc/file/lockf64.c index 327707ac8..5638d6938 100644 --- a/libc/misc/file/lockf64.c +++ b/libc/misc/file/lockf64.c @@ -38,8 +38,10 @@ #include #include #include +#include #ifdef __NR_fcntl64 +extern int fcntl64 (int fd, int cmd, ...); #define flock flock64 #define fcntl fcntl64 #define F_GETLK F_GETLK64