[rrd-developers] [PATCH] fix fcntl inclusion for posix_fadvise()
Bernhard Fischer
rep.dot.nop at gmail.com
Fri May 18 11:03:31 CEST 2007
Hi,
I was getting:
rrd_create.c: In function 'rrd_create_fn':
rrd_create.c:703: warning: implicit declaration of function 'posix_fadvise'
rrd_create.c:703: warning: nested extern declaration of 'posix_fadvise'
rrd_create.c:703: error: 'POSIX_FADV_DONTNEED' undeclared (first use in this function)
Attached patch fixes this by defining the appropriate XOPEN before
including fcntl.h.
Please apply.
TIA,
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrdtool-1.2.23-svn.fix-fcntl-inclusion-for-posix_fadvise.diff
Type: text/x-diff
Size: 397 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20070518/f2ccc79f/attachment.bin
More information about the rrd-developers
mailing list