mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
|
||||||
|
|
||||||
/* These are for SHRT_MAX and FLT_MAX -- { */
|
/* These are for SHRT_MAX and FLT_MAX -- { */
|
||||||
#ifdef __Darwin__
|
#if defined(__Darwin__) || defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__)
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#else
|
#else
|
||||||
#include <values.h>
|
#include <values.h>
|
||||||
|
Reference in New Issue
Block a user