about summary refs log tree commit diff
path: root/misc/sys/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys/file.h')
-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.  */