aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-10-23 12:13:10 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-10-23 12:13:10 +0000
commit0eb5dd8cc055e1511e8275bdef4fa3323a0ca1d0 (patch)
treea1347c42e1a707c61d86d1122f4f68e9e5750924 /sys
parent642b1db1690e5f79f5c913f3062c4753ac9814b4 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/unistd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h
index 2a84c83d844db..dc4004b3bc9a5 100644
--- a/sys/sys/unistd.h
+++ b/sys/sys/unistd.h
@@ -105,9 +105,11 @@
#define R_OK 0x04 /* test for read permission */
/* whence values for lseek(2) */
+#ifndef SEEK_SET
#define SEEK_SET 0 /* set file offset to offset */
#define SEEK_CUR 1 /* set file offset to current plus offset */
#define SEEK_END 2 /* set file offset to EOF plus offset */
+#endif
#ifndef _POSIX_SOURCE
/* whence values for lseek(2); renamed by POSIX 1003.1 */