about summary refs log tree commit diff
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/file.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sys/file.h b/include/sys/file.h
index adb9dd52..4fc83b98 100644
--- a/include/sys/file.h
+++ b/include/sys/file.h
@@ -4,16 +4,16 @@
 extern "C" {
 #endif
 
-#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
-
 #define LOCK_SH	1
 #define LOCK_EX	2
 #define LOCK_NB	4
 #define LOCK_UN	8
 
-int flock(int, int);
+#define L_SET 0
+#define L_INCR 1
+#define L_XTND 2
 
-#endif
+int flock(int, int);
 
 #ifdef __cplusplus
 }