summaryrefslogtreecommitdiff
path: root/misc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys')
-rw-r--r--misc/sys/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/sys/file.h b/misc/sys/file.h
index 51d07bc160..fa4cb26239 100644
--- a/misc/sys/file.h
+++ b/misc/sys/file.h
@@ -30,9 +30,11 @@ __BEGIN_DECLS
/* Alternate names for values for the WHENCE argument to `lseek'.
These are the same as SEEK_SET, SEEK_CUR, and SEEK_END, respectively. */
+#ifndef L_SET
#define L_SET 0 /* Seek from beginning of file. */
#define L_INCR 1 /* Seek from current position. */
#define L_XTND 2 /* Seek from end of file. */
+#endif
/* Operations for the `flock' call. */