[asterisk-commits] branch 1.2 r9964 - /branches/1.2/asterisk.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Feb 14 11:50:43 MST 2006


Author: bweschke
Date: Tue Feb 14 12:50:42 2006
New Revision: 9964

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


Modified:
    branches/1.2/asterisk.c

Modified: branches/1.2/asterisk.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/asterisk.c?rev=9964&r1=9963&r2=9964&view=diff
==============================================================================
--- branches/1.2/asterisk.c (original)
+++ branches/1.2/asterisk.c Tue Feb 14 12:50:42 2006
@@ -75,8 +75,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