From: Joshua Colp Date: Mon, 12 Nov 2007 13:26:45 +0000 (+0000) Subject: Fix building on FreeBSD by including/not including some headers. X-Git-Tag: 1.6.0-beta1~3^2~917 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=098728eb6488023a144714545bfc8dcbcee6f862;p=thirdparty%2Fasterisk.git Fix building on FreeBSD by including/not including some headers. (closes issue #11218) Reported by: ys Patches: trunk89169.diff uploaded by ys (license 281) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89177 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c index 9909dea793..37a2f59103 100644 --- a/channels/chan_unistim.c +++ b/channels/chan_unistim.c @@ -41,6 +41,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include #include +#include #include #include #include diff --git a/utils/hashtest.c b/utils/hashtest.c index aa359ca53b..80362a89b9 100644 --- a/utils/hashtest.c +++ b/utils/hashtest.c @@ -34,7 +34,9 @@ #include #include #include +#ifdef HAVE_ALLOCA_H #include +#endif #include #include #include