aboutsummaryrefslogtreecommitdiff
path: root/system/include
diff options
context:
space:
mode:
Diffstat (limited to 'system/include')
-rw-r--r--system/include/libc/sys/_default_fcntl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/include/libc/sys/_default_fcntl.h b/system/include/libc/sys/_default_fcntl.h
index 1884136c..d44a858e 100644
--- a/system/include/libc/sys/_default_fcntl.h
+++ b/system/include/libc/sys/_default_fcntl.h
@@ -128,6 +128,12 @@ extern "C" {
#define F_DUPFD_CLOEXEC 14 /* As F_DUPFD, but set close-on-exec flag */
#endif
+/* XXX Emscripten: 3 more not really needed ones */
+#define F_GETLK64 20
+#define F_SETLK64 21
+#define F_SETLKW64 22
+
+
/* fcntl(2) flags (l_type field of flock structure) */
#define F_RDLCK 1 /* read lock */
#define F_WRLCK 2 /* write lock */