diff --git a/src/rrd_open.c b/src/rrd_open.c
index 8f08176494fe48f01b6f889f491a28209096603a..3740750fb73e6839ead4d5c7a13a54e02547ad1c 100644 (file)
--- a/src/rrd_open.c
+++ b/src/rrd_open.c
return (-1);
}
-#ifdef POSIX_FADVISE
+#ifdef HAVE_POSIX_FADVISE
/* In general we need no read-ahead when dealing with rrd_files.
When we stop reading, it is highly unlikely that we start up again.
In this manner we actually save time and diskaccess (and buffer cache).