summaryrefslogtreecommitdiff
path: root/codecs/codec_resample.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-12-31 22:41:39 +0000
committerRussell Bryant <russell@russellbryant.com>2007-12-31 22:41:39 +0000
commite0dfa91db8014d4f95e6d974cc914c42c65a5cb5 (patch)
tree9d37b7ba61d711f94ca5c9b2299ffe9ca3dd21c0 /codecs/codec_resample.c
parent067fcc2a032e0bf5cf3b28c83c6fa5f5a08d365b (diff)
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
Diffstat (limited to 'codecs/codec_resample.c')
-rw-r--r--codecs/codec_resample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codecs/codec_resample.c b/codecs/codec_resample.c
index 88af225ff..ce0d60a51 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 <float.h>
#else
#include <values.h>