From 2b6271b7f2c8dbcdf71ecb1fb5a4efe0f6e68896 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Sat, 7 Apr 2007 18:31:40 +0000 Subject: [PATCH] Hide SEEK_DATA and SEEK_HOLE under __BSD_VISIBLE. Suggested by: ache --- sys/sys/unistd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h index 752e135789c6..f65a1987ffa9 100644 --- a/sys/sys/unistd.h +++ b/sys/sys/unistd.h @@ -108,7 +108,7 @@ #define SEEK_CUR 1 /* set file offset to current plus offset */ #define SEEK_END 2 /* set file offset to EOF plus offset */ #endif -#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) +#if __BSD_VISIBLE #define SEEK_DATA 3 /* set file offset to next data past offset */ #define SEEK_HOLE 4 /* set file offset to next hole past offset */ #endif