From: Tobias Oetiker Date: Tue, 20 Nov 2007 22:22:31 +0000 (+0000) Subject: enable madvise defines in netbsd X-Git-Tag: 1.3rc2~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e1005301653c51389bd2957fcfd07209e76874eb;p=thirdparty%2Frrdtool-1.x.git 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 a889daae..79124364 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([