summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-02-18 11:04:15 -0500
committerRich Felker <dalias@aerifal.cx>2014-02-18 11:04:15 -0500
commitfdb3efa5ddfa7120de98f8ae78b5f5dc9e8e2e71 (patch)
tree11fa4d675ebb9b81d3d9468cb6e6f5d64e86546f /include
parent3e02ce1b411306fb3cbf0194662bec667fed1008 (diff)
downloadmusl-fdb3efa5ddfa7120de98f8ae78b5f5dc9e8e2e71.tar.gz
add flock64 alias for (struct) flock in fcntl.h
this was a missing part of the LFS64 API; it's "needed" for use with fcntl and the corresponding lock commands.
Diffstat (limited to 'include')
-rw-r--r--include/fcntl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index e01a4d19..2d8fa6e4 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -161,6 +161,7 @@ ssize_t tee(int, int, size_t, unsigned);
#define F_GETLK64 F_GETLK
#define F_SETLK64 F_SETLK
#define F_SETLKW64 F_SETLKW
+#define flock64 flock
#define open64 open
#define openat64 openat
#define creat64 creat