projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed NetBSD spelling
[rrdtool.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
9d1f5f9
..
27718fb
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-49,7
+49,7
@@
AH_TOP([
/* realloc does not support NULL as argument */
#undef NO_NULL_REALLOC
/* realloc does not support NULL as argument */
#undef NO_NULL_REALLOC
-/* lets enable madvise defines in
netbsd
*/
+/* lets enable madvise defines in
NetBSD
*/
#if defined(__NetBSD__)
# if !defined(_NETBSD_SOURCE)
# define _NETBSD_SOURCE
#if defined(__NetBSD__)
# if !defined(_NETBSD_SOURCE)
# define _NETBSD_SOURCE
@@
-60,8
+60,9
@@
AH_TOP([
AH_BOTTOM([
/* make sure that we pickup the correct stuff from all headers */
AH_BOTTOM([
/* make sure that we pickup the correct stuff from all headers */
-#define _XOPEN_SOURCE 600
#ifdef HAVE_FEATURES_H
#ifdef HAVE_FEATURES_H
+#define _XOPEN_SOURCE 600
+#define _BSD_SOURCE 1
# include <features.h>
#endif
# include <features.h>
#endif