From e0dfa91db8014d4f95e6d974cc914c42c65a5cb5 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Mon, 31 Dec 2007 22:41:39 +0000 Subject: [PATCH] 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 --- codecs/codec_resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2