about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-02 10:00:09 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-02 10:00:09 -0400
commit78c6d30fd3bb13f5fc6e1ad42675fe5475a87641 (patch)
tree0b28400aa2f058993f2e81beff85a9f67780c36d /include
parent8d01dfc72aeecb5209e17d7a5049cb6fd326241a (diff)
downloadmusl-78c6d30fd3bb13f5fc6e1ad42675fe5475a87641.tar.gz
musl-78c6d30fd3bb13f5fc6e1ad42675fe5475a87641.tar.xz
musl-78c6d30fd3bb13f5fc6e1ad42675fe5475a87641.zip
provide useless 64-bit fcntl macros with _LARGEFILE64_SOURCE
this is all useless but part of the API, which is part of the
_GNU_SOURCE API, so something may need them.
Diffstat (limited to 'include')
-rw-r--r--include/fcntl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index b797cd1a..3944e198 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -154,6 +154,9 @@ ssize_t tee(int, int, size_t, unsigned);
 #endif
 
 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
+#define F_GETLK64 F_GETLK
+#define F_SETLK64 F_SETLK
+#define F_SETLKW64 F_SETLKW
 #define open64 open
 #define openat64 openat
 #define creat64 creat