

On some (most?) systems, you have to define XOPEN_SOURCE to 500 if you want to
get definitions for pread/pwrite (even tho the linking works well anyway).

This patch defines it to avoid the unnecesary warning.



---

 cur-root/Make.conf |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN Make.conf~define_open_500 Make.conf
--- cur/Make.conf~define_open_500	2004-05-04 09:46:14.000000000 -0300
+++ cur-root/Make.conf	2004-05-04 09:46:29.000000000 -0300
@@ -4,7 +4,8 @@ VERSION="0.13"
 CC = gcc
 CFLAGS += -Wall -O6 \
 	-D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 \
-	-D_LFS_LARGEFILE=1 -D_LFS64_LARGEFILE=1
+	-D_LFS_LARGEFILE=1 -D_LFS64_LARGEFILE=1 \
+	-D_XOPEN_SOURCE=500
 
 ifdef DEBUG
 CFLAGS += -g -pg -fprofile-arcs -ftest-coverage

_
