From: Russell Bryant Date: Sat, 20 Mar 2010 17:46:28 +0000 (+0000) Subject: Merged revisions 253536 via svnmerge from X-Git-Tag: 1.6.1.19-rc1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a335915fee9b45dac3ad22776af1c6b435cf05f;p=thirdparty%2Fasterisk.git Merged revisions 253536 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r253536 | russell | 2010-03-20 06:33:30 -0500 (Sat, 20 Mar 2010) | 4 lines Use SHRT_MAX instead of MAXSHORT. These changes fix build issues I had with this module on FreeBSD. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@253621 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 16034f04fb..17044887f1 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -49,7 +49,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__FreeBSD__) #include #include #else