Add missing headers includes for FreeBSD.
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>
Thu, 25 Jun 2009 10:39:09 +0000 (12:39 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 29 Jun 2009 15:42:07 +0000 (17:42 +0200)
This removes the implicit declarations of send() and pthread_sigmask().

src/pulse/thread-mainloop.c
src/pulsecore/core-util.c

index c77cc64..6916d86 100644 (file)
 #include <config.h>
 #endif
 
+#ifndef OS_IS_WIN32
+#include <pthread.h>
+#endif
+
 #include <signal.h>
 #include <stdio.h>
 
index 9511142..04e7eb2 100644 (file)
@@ -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>