[asterisk-commits] trunk r11407 - in /trunk: channels/chan_iax2.c jitterbuf.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Feb 28 12:22:29 MST 2006


Author: russell
Date: Tue Feb 28 13:22:25 2006
New Revision: 11407

URL: http://svn.digium.com/view/asterisk?rev=11407&view=rev
Log:
fix some build issues on FreeBSD (issue #6614)

Modified:
    trunk/channels/chan_iax2.c
    trunk/jitterbuf.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?rev=11407&r1=11406&r2=11407&view=diff
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Tue Feb 28 13:22:25 2006
@@ -6486,9 +6486,10 @@
 {
 	struct iax2_thread *thread;
 	socklen_t len;
-	thread = find_idle_thread();
 	time_t t;
 	static time_t last_errtime=0;
+
+	thread = find_idle_thread();
 	if (thread) {
 		len = sizeof(thread->iosin);
 		thread->iofd = fd;

Modified: trunk/jitterbuf.c
URL: http://svn.digium.com/view/asterisk/trunk/jitterbuf.c?rev=11407&r1=11406&r2=11407&view=diff
==============================================================================
--- trunk/jitterbuf.c (original)
+++ trunk/jitterbuf.c Tue Feb 28 13:22:25 2006
@@ -30,6 +30,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <sys/types.h>
 #include "asterisk.h"
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")



More information about the asterisk-commits mailing list