summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/libbc/inc/include/sys/fcntlcom.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/lib/libbc/inc/include/sys/fcntlcom.h b/usr/src/lib/libbc/inc/include/sys/fcntlcom.h
index 8a843c900f..8caf65e2a3 100644
--- a/usr/src/lib/libbc/inc/include/sys/fcntlcom.h
+++ b/usr/src/lib/libbc/inc/include/sys/fcntlcom.h
@@ -20,6 +20,7 @@
*/
/*
+ * Copyright 2016 Gary Mills
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -134,6 +135,10 @@ extern "C" {
#define F_CNVT 12 /* Convert a fhandle to an open fd */
#endif /* !_POSIX_SOURCE */
+/* Needed by flock.c */
+#define F_FLOCKW F_SETLKW
+#define F_FLOCK F_SETLK
+
/* fcntl(2) flags (l_type field of flock structure) */
#define F_RDLCK 1 /* read lock */
#define F_WRLCK 2 /* write lock */