summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-05-11 01:00:03 +0000
committerroot <root>2008-05-11 01:00:03 +0000
commit6c01cceda3394cdada2dcf37f55ef31fe2659f89 (patch)
treed6219abc79ba2c0bf7f85673f64e77a2dab35b26
parenta3ff49fd480320c5cf7e01af241775116373dbfc (diff)
*** empty log message ***
-rw-r--r--config.h.in3
-rw-r--r--libeio.m41
2 files changed, 3 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index 1dedbb4..210b22a 100644
--- a/config.h.in
+++ b/config.h.in
@@ -71,3 +71,6 @@
/* Version number of package */
#undef VERSION
+
+/* _GNU_SOURCE required for readahead (linux) */
+#undef _GNU_SOURCE
diff --git a/libeio.m4 b/libeio.m4
index ba866d8..d2b8030 100644
--- a/libeio.m4
+++ b/libeio.m4
@@ -21,7 +21,6 @@ int main(void)
test $ac_cv_futimes = yes && AC_DEFINE(HAVE_FUTIMES, 1, futimes(2) is available)
AC_CACHE_CHECK(for readahead, ac_cv_readahead, [AC_LINK_IFELSE([
-#define _GNU_SOURCE
#include <fcntl.h>
int main(void)
{