projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0edfb0e
)
#ifdef the include too.
author
BJ Weschke
<bweschke@btwtech.com>
Tue, 14 Feb 2006 18:49:37 +0000
(18:49 +0000)
committer
BJ Weschke
<bweschke@btwtech.com>
Tue, 14 Feb 2006 18:49:37 +0000
(18:49 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9963
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
asterisk.c
patch
|
blob
|
history
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