and now just to keep the libresample party going... if the functions from libresample...
[asterisk/asterisk.git] / codecs / codec_resample.c
index 88af225..76641ce 100644 (file)
@@ -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__) || defined(__CYGWIN__)
 #include <float.h>
 #else
 #include <values.h>
@@ -39,8 +39,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
 #include "asterisk/module.h"
 #include "asterisk/translate.h"
-
-#include "libresample.h"
+#include "asterisk/libresample.h"
 
 #include "slin_resample_ex.h"