projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
now the fadvise code actually compiles ... let the testing begin.
[rrdtool.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
8e64c11
..
f878dcc
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-71,7
+71,8
@@
char *strchr (), *strrchr ();
#endif
/* enable posix_fadvise on linux */
-#ifdef HAVE_POSIX_FADVISE
+#if defined(HAVE_POSIX_FADVISE) && defined(HAVE_FCNTL_H)
+#include <fcntl.h>
#define __USE_XOPEN2K 1
#endif