#ifdef the include too.
[asterisk/asterisk.git] / asterisk.c
index 40ddb3e..d2d493d 100644 (file)
 #include <grp.h>
 #include <pwd.h>
 #include <sys/stat.h>
-#include <sys/prctl.h>
 #include <regex.h>
 
+#ifdef linux
+#include <sys/prctl.h>
+#endif
+
 #if  defined(__FreeBSD__) || defined( __NetBSD__ ) || defined(SOLARIS)
 #include <netdb.h>
 #endif