[svn-commits] file: trunk r89177 - in /trunk: channels/chan_unistim.c utils/hashtest.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Nov 12 07:26:46 CST 2007
Author: file
Date: Mon Nov 12 07:26:45 2007
New Revision: 89177
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89177
Log:
Fix building on FreeBSD by including/not including some headers.
(closes issue #11218)
Reported by: ys
Patches:
trunk89169.diff uploaded by ys (license 281)
Modified:
trunk/channels/chan_unistim.c
trunk/utils/hashtest.c
Modified: trunk/channels/chan_unistim.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_unistim.c?view=diff&rev=89177&r1=89176&r2=89177
==============================================================================
--- trunk/channels/chan_unistim.c (original)
+++ trunk/channels/chan_unistim.c Mon Nov 12 07:26:45 2007
@@ -41,6 +41,7 @@
#include <unistd.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
+#include <sys/stat.h>
#include <net/if.h>
#include <errno.h>
#include <stdlib.h>
Modified: trunk/utils/hashtest.c
URL: http://svn.digium.com/view/asterisk/trunk/utils/hashtest.c?view=diff&rev=89177&r1=89176&r2=89177
==============================================================================
--- trunk/utils/hashtest.c (original)
+++ trunk/utils/hashtest.c Mon Nov 12 07:26:45 2007
@@ -34,7 +34,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
+#ifdef HAVE_ALLOCA_H
#include <alloca.h>
+#endif
#include <string.h>
#include <pthread.h>
#include <sys/stat.h>
More information about the svn-commits
mailing list