aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-31 22:41:39 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-12-31 22:41:39 +0000
commit250f46db38e3744456ad3ed7e62993c278cdc3ef (patch)
tree9d37b7ba61d711f94ca5c9b2299ffe9ca3dd21c0 /codecs
parent982aedfab46933d83c86c778c9df0386a1e9d1bf (diff)
Use float.h to fix the build on FreeBSD. Also, add some other platforms as
they are likely the same. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@95550 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-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>