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:
parent
067fcc2a03
commit
e0dfa91db8
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue