diff --git a/src/rrd_create.c b/src/rrd_create.c
index 521c72611488f1c4e5fc68d28d357ac94b6e0fab..6f4c8043da656128e2adc2be9971c54edf6a8227 100644 (file)
--- a/src/rrd_create.c
+++ b/src/rrd_create.c
return(-1);
}
-#ifdef POSIX_FADVISE
+#ifdef HAVE_POSIX_FADVISE
/* this file is not going to be read again any time
soon, so we drop everything except the header portion from
the buffer cache. for this to work, we have to fdsync the file