summaryrefslogtreecommitdiff
path: root/libc/misc/file/lockf64.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-27 07:33:34 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-27 07:33:34 +0000
commit4c313954e695c9b0c929d0d1e6ae4c715ea6c6ba (patch)
tree5cbad471fb5eb3a8304a0b7accf02788e7aad4c0 /libc/misc/file/lockf64.c
parentbd8a22c751b2b5a4bef2313dc05d02f9cb27e707 (diff)
Get rid of redefines on ppc pointed out by vapier
Diffstat (limited to 'libc/misc/file/lockf64.c')
-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