projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
enable madvise defines in netbsd
[rrdtool.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
a889daa
..
7912436
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-49,6
+49,13
@@
AH_TOP([
/* realloc does not support NULL as argument */
#undef NO_NULL_REALLOC
+/* lets enable madvise defines in netbsd */
+#if defined(__NetBSD__)
+# if !defined(_NETBSD_SOURCE)
+# define _NETBSD_SOURCE
+# endif
+#endif
+
])
AH_BOTTOM([