mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
OSX protability patches from Conrad Parker
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@234 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
03ee5e2b44
commit
9e3890abb4
7 changed files with 7 additions and 2 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <limits.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "authkey.h"
|
||||
#include "util.h"
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
#include <assert.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <unistd.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include "module.h"
|
||||
#include "socket-server.h"
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "namereg.h"
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include "pstream.h"
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/time.h>
|
||||
#include <netinet/in.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@
|
|||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <pwd.h>
|
||||
#include <signal.h>
|
||||
#include <pthread.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue