[asterisk-commits] qwell: trunk r113403 - in /trunk: ./ main/asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 8 12:00:56 CDT 2008


Author: qwell
Date: Tue Apr  8 12:00:55 2008
New Revision: 113403

URL: http://svn.digium.com/view/asterisk?view=rev&rev=113403
Log:
Merged revisions 113402 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r113402 | qwell | 2008-04-08 11:56:52 -0500 (Tue, 08 Apr 2008) | 1 line

Work around some silliness caused by sys/capability.h - this should fix compile errors a number of users have been experiencing.
........

Modified:
    trunk/   (props changed)
    trunk/main/asterisk.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/main/asterisk.c?view=diff&rev=113403&r1=113402&r2=113403
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Tue Apr  8 12:00:55 2008
@@ -79,18 +79,21 @@
 #if defined(HAVE_SYSINFO)
 #include <sys/sysinfo.h>
 #endif
+#include <regex.h>
+
+#if defined(SOLARIS)
+int daemon(int, int);  /* defined in libresolv of all places */
+#include <sys/loadavg.h>
+#endif
+
+#include "asterisk/zapata.h"
+
 #ifdef linux
 #include <sys/prctl.h>
 #ifdef HAVE_CAP
 #include <sys/capability.h>
 #endif /* HAVE_CAP */
 #endif /* linux */
-#include <regex.h>
-
-#if defined(SOLARIS)
-int daemon(int, int);  /* defined in libresolv of all places */
-#include <sys/loadavg.h>
-#endif
 
 #include "asterisk/paths.h"	/* we define here the variables so better agree on the prototype */
 #include "asterisk/network.h"
@@ -122,7 +125,6 @@
 #include "asterisk/devicestate.h"
 #include "asterisk/module.h"
 #include "asterisk/dsp.h"
-#include "asterisk/zapata.h"
 
 #include "asterisk/doxyref.h"		/* Doxygen documentation */
 




More information about the asterisk-commits mailing list