From: oetiker Date: Tue, 20 Nov 2007 22:22:31 +0000 (+0000) Subject: enable madvise defines in netbsd X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=cd4059c82310f02adfc3ebfa15a25fedb830c90b enable madvise defines in netbsd git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1238 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/configure.ac b/configure.ac index a889daa..7912436 100644 --- 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([