projects
/
asterisk/asterisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
#ifdef the include too.
[asterisk/asterisk.git]
/
asterisk.c
diff --git
a/asterisk.c
b/asterisk.c
index
40ddb3e
..
d2d493d
100644
(file)
--- a/
asterisk.c
+++ b/
asterisk.c
@@
-74,9
+74,12
@@
#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