summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Marineau <michael.marineau@coreos.com>2015-01-15 13:25:00 -0800
committerDavid Herrmann <dh.herrmann@gmail.com>2015-01-17 12:45:38 +0100
commitf4a53250acb3aea2eb5ebed059887b9417afbd9e (patch)
treec8bb266a361fa5f97d225667c5f5bc0a95e6f513 /src
parentecdacd4b2fca2153f35b689281ba38107c84f528 (diff)
missing: add macros for OFD locks
Diffstat (limited to 'src')
-rw-r--r--src/shared/missing.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/missing.h b/src/shared/missing.h
index cdc38b2dd8..d074405bec 100644
--- a/src/shared/missing.h
+++ b/src/shared/missing.h
@@ -79,6 +79,12 @@
#define F_SEAL_WRITE 0x0008 /* prevent writes */
#endif
+#ifndef F_OFD_GETLK
+#define F_OFD_GETLK 36
+#define F_OFD_SETLK 37
+#define F_OFD_SETLKW 38
+#endif
+
#ifndef MFD_ALLOW_SEALING
#define MFD_ALLOW_SEALING 0x0002U
#endif