[asterisk-commits] trunk r9963 - /trunk/asterisk.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Feb 14 11:49:38 MST 2006


Author: bweschke
Date: Tue Feb 14 12:49:37 2006
New Revision: 9963

URL: http://svn.digium.com/view/asterisk?rev=9963&view=rev
Log:
#ifdef the include too.


Modified:
    trunk/asterisk.c

Modified: trunk/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/asterisk.c?rev=9963&r1=9962&r2=9963&view=diff
==============================================================================
--- trunk/asterisk.c (original)
+++ trunk/asterisk.c Tue Feb 14 12:49:37 2006
@@ -74,8 +74,11 @@
 #include <grp.h>
 #include <pwd.h>
 #include <sys/stat.h>
+#include <regex.h>
+
+#ifdef linux
 #include <sys/prctl.h>
-#include <regex.h>
+#endif
 
 #if  defined(__FreeBSD__) || defined( __NetBSD__ ) || defined(SOLARIS)
 #include <netdb.h>



More information about the asterisk-commits mailing list