From: Russell Bryant Date: Sat, 20 Mar 2010 17:23:49 +0000 (+0000) Subject: Merged revisions 253536 via svnmerge from X-Git-Tag: 1.6.2.7-rc1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fa47872049a8fd95d4da46eeebd5824b8192af1;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.2@253595 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index f7338aeff0..fd590a2471 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -50,7 +50,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__FreeBSD__) #include #include #else