summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-06-25 12:39:09 +0200
committerLennart Poettering <lennart@poettering.net>2009-06-29 17:42:07 +0200
commit1ca76031092ab07682843fd70607696f6af7216f (patch)
tree8ddc364da7b8af27ef77be68da19d98337918091
parentbce211e41687f234f8c03fd6e4fd7490a0e0b7e2 (diff)
Add missing headers includes for FreeBSD.
This removes the implicit declarations of send() and pthread_sigmask().
-rw-r--r--src/pulse/thread-mainloop.c4
-rw-r--r--src/pulsecore/core-util.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/pulse/thread-mainloop.c b/src/pulse/thread-mainloop.c
index c77cc64e..6916d867 100644
--- a/src/pulse/thread-mainloop.c
+++ b/src/pulse/thread-mainloop.c
@@ -24,6 +24,10 @@
#include <config.h>
#endif
+#ifndef OS_IS_WIN32
+#include <pthread.h>
+#endif
+
#include <signal.h>
#include <stdio.h>
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index 95111420..04e7eb24 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -43,6 +43,7 @@
#include <regex.h>
#include <langinfo.h>
#include <sys/utsname.h>
+#include <sys/socket.h>
#ifdef HAVE_STRTOF_L
#include <locale.h>