X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_open.c;h=3740750fb73e6839ead4d5c7a13a54e02547ad1c;hp=8f08176494fe48f01b6f889f491a28209096603a;hb=36b14cdfdbba7713d65c4d416b27c94b495b154a;hpb=65280068b027ac9b7072a586724c2dc1e3d39d02 diff --git a/src/rrd_open.c b/src/rrd_open.c index 8f08176..3740750 100644 --- a/src/rrd_open.c +++ b/src/rrd_open.c @@ -88,7 +88,7 @@ rrd_open(const char *file_name, FILE **in_file, rrd_t *rrd, int rdwr) 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).