projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
067fcc2
)
Use float.h to fix the build on FreeBSD. Also, add some other platforms as
author
Russell Bryant
<russell@russellbryant.com>
Mon, 31 Dec 2007 22:41:39 +0000
(22:41 +0000)
committer
Russell Bryant
<russell@russellbryant.com>
Mon, 31 Dec 2007 22:41:39 +0000
(22:41 +0000)
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
patch
|
blob
|
history
diff --git
a/codecs/codec_resample.c
b/codecs/codec_resample.c
index
88af225
..
ce0d60a
100644
(file)
--- 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>