diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-10-30 01:14:23 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-10-30 01:14:23 +0000 |
commit | 6e46869a9c0c9f5e31378247e5835cd0b3301c96 (patch) | |
tree | dad4ede474ab46f074fd8381965d160f6a2ac92c /libc/misc/file/lockf64.c | |
parent | ca798b3b1e0937336dc382b6f3fe7453a219fd2f (diff) | |
download | uClibc-alpine-6e46869a9c0c9f5e31378247e5835cd0b3301c96.tar.bz2 uClibc-alpine-6e46869a9c0c9f5e31378247e5835cd0b3301c96.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/misc/file/lockf64.c')
-rw-r--r-- | libc/misc/file/lockf64.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <fcntl.h> #include <errno.h> #include <string.h> +#include <sys/syscall.h> #ifdef __NR_fcntl64 +extern int fcntl64 (int fd, int cmd, ...); #define flock flock64 #define fcntl fcntl64 #define F_GETLK F_GETLK64 |