about summary refs log tree commit diff
path: root/conform/data/fcntl.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/fcntl.h-data')
-rw-r--r--conform/data/fcntl.h-data4
1 files changed, 4 insertions, 0 deletions
diff --git a/conform/data/fcntl.h-data b/conform/data/fcntl.h-data
index 0fbe7d57fe..5771af6bba 100644
--- a/conform/data/fcntl.h-data
+++ b/conform/data/fcntl.h-data
@@ -62,12 +62,14 @@ constant S_ISUID
 constant S_ISGID
 constant S_ISVTX
 
+#ifdef XOPEN2K
 constant POSIX_FADV_NORMAL
 constant POSIX_FADV_SEQUENTIAL
 constant POSIX_FADV_RANDOM
 constant POSIX_FADV_WILLNEED
 constant POSIX_FADV_DONTNEED
 constant POSIX_FADV_NOREUSE
+#endif
 
 type {struct flock}
 
@@ -84,9 +86,11 @@ type pid_t
 function int creat (const char*, mode_t)
 function int fcntl (int, int, ...)
 function int open (const char*, int, ...)
+#ifdef XOPEN2K
 function int posix_fadvise (int, off_t, size_t, int)
 function int posix_fallocate (int, off_t, size_t)
 function int posix_madvise (void*, size_t, int)
+#endif
 
 allow-header sys/stat.h
 allow-header unistd.h