From: Russell Bryant Date: Mon, 31 Dec 2007 22:41:39 +0000 (+0000) Subject: Use float.h to fix the build on FreeBSD. Also, add some other platforms as X-Git-Tag: 1.6.0-beta1~3^2~245 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0dfa91db8014d4f95e6d974cc914c42c65a5cb5;p=thirdparty%2Fasterisk.git Use float.h to fix the build on FreeBSD. Also, add some other platforms as they are likely the same. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95550 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/codecs/codec_resample.c b/codecs/codec_resample.c index 88af225ff3..ce0d60a515 100644 --- a/codecs/codec_resample.c +++ b/codecs/codec_resample.c @@ -29,7 +29,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") /* These are for SHRT_MAX and FLT_MAX -- { */ -#ifdef __Darwin__ +#if defined(__Darwin__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) #include #else #include