update defines according to manual pageentry
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 19 May 2007 05:47:29 +0000 (05:47 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 19 May 2007 05:47:29 +0000 (05:47 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1067 a5681a0c-68f1-0310-ab6d-d61299d08faa

configure.ac

index df21955..3078710 100644 (file)
@@ -72,7 +72,7 @@ char *strchr (), *strrchr ();
 
 /* enable posix_fadvise on linux */
 #if defined(HAVE_POSIX_FADVISE) && defined(HAVE_FCNTL_H)
 
 /* enable posix_fadvise on linux */
 #if defined(HAVE_POSIX_FADVISE) && defined(HAVE_FCNTL_H)
-#define __USE_XOPEN2K 1
+#define _XOPEN_SOURCE 600
 #include <fcntl.h>
 #endif
 
 #include <fcntl.h>
 #endif