<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"> ------------------------------------------------------------------------
r11916 | psm | 2005-10-25 14:52:09 -0500 (Tue, 25 Oct 2005) | 1 line
Changed paths:
   M /trunk/uClibc/libc/misc/file/lockf64.c

Make use of fcntl64 syscall if possible
 ------------------------------------------------------------------------
Index: libc/misc/file/lockf64.c
===================================================================
--- libc/misc/file/lockf64.c	(revision 11915)
+++ libc/misc/file/lockf64.c	(revision 11916)
@@ -38,8 +38,10 @@
 #include &lt;fcntl.h&gt;
 #include &lt;errno.h&gt;
 #include &lt;string.h&gt;
+#include &lt;sys/syscall.h&gt;
 
 #ifdef __NR_fcntl64
+extern int fcntl64 (int fd, int cmd, ...);
 #define flock flock64
 #define fcntl fcntl64
 #define F_GETLK F_GETLK64
</pre></body></html>