summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/file/lockf64.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/file/lockf64.c b/libc/misc/file/lockf64.c
index 3b46a1ebe..48983d448 100644
--- a/libc/misc/file/lockf64.c
+++ b/libc/misc/file/lockf64.c
@@ -28,7 +28,9 @@
#ifdef __NR_fcntl64
#define flock flock64
#define fcntl fcntl64
+#undef F_GETLK
#define F_GETLK F_GETLK64
+#undef F_SETLK
#define F_SETLK F_SETLK64
libc_hidden_proto(fcntl64)
#else