aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-20 17:23:49 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-03-20 17:23:49 +0000
commit8f7745e91bdb17a5a3618354c7ae15e8f8ac5e33 (patch)
tree117746c1176c6f9a5dc4d5f642e94110954e56a5
parent4d518c5f566c2776b2707a7c7d0e63ff26152ae8 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.2@253595 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--channels/chan_dahdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index f7338aeff..fd590a247 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 <pthread.h>
#include <signal.h>
#else