From: Lennart Poettering Date: Thu, 23 Sep 2004 15:57:15 +0000 (+0000) Subject: OSX protability patches from Conrad Parker X-Git-Tag: submit/2.0-panda/20130828.192557~4271 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e3890abb4c8427d69b0be751d516b4c1ff6118d;p=profile%2Fivi%2Fpulseaudio-panda.git OSX protability patches from Conrad Parker git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@234 fefdeb5f-60dc-0310-8127-8f9354f1896f --- diff --git a/polyp/authkey.c b/polyp/authkey.c index bbc45c3..9b60506 100644 --- a/polyp/authkey.c +++ b/polyp/authkey.c @@ -33,6 +33,7 @@ #include #include #include +#include #include "authkey.h" #include "util.h" diff --git a/polyp/main.c b/polyp/main.c index 2a45ad3..0e55528 100644 --- a/polyp/main.c +++ b/polyp/main.c @@ -188,7 +188,7 @@ int main(int argc, char *argv[]) { pa_log_set_target(PA_LOG_SYSLOG, NULL); setsid(); - setpgrp(); + setpgid(0,0); close(0); close(1); diff --git a/polyp/module-protocol-stub.c b/polyp/module-protocol-stub.c index 46522d9..17c491d 100644 --- a/polyp/module-protocol-stub.c +++ b/polyp/module-protocol-stub.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "module.h" #include "socket-server.h" diff --git a/polyp/namereg.c b/polyp/namereg.c index 5791a3e..e2f65ef 100644 --- a/polyp/namereg.c +++ b/polyp/namereg.c @@ -27,7 +27,6 @@ #include #include #include -#include #include #include "namereg.h" diff --git a/polyp/pstream.c b/polyp/pstream.c index b0de9e8..5fe2b4e 100644 --- a/polyp/pstream.c +++ b/polyp/pstream.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include "pstream.h" diff --git a/polyp/tagstruct.c b/polyp/tagstruct.c index 39ae87b..bbebdab 100644 --- a/polyp/tagstruct.c +++ b/polyp/tagstruct.c @@ -25,6 +25,8 @@ #include #include +#include +#include #include #include diff --git a/polyp/util.c b/polyp/util.c index cc132db..7148654 100644 --- a/polyp/util.c +++ b/polyp/util.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include