]> code.delx.au - pulseaudio/commitdiff
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 c77cc64e307ebb218ca6d07238aa7fb77712899f..6916d8671164165e569bff22f34ca1f3696bdcc9 100644 (file)
 #include <config.h>
 #endif
 
+#ifndef OS_IS_WIN32
+#include <pthread.h>
+#endif
+
 #include <signal.h>
 #include <stdio.h>
 
index 95111420bd12b38897ccba3424e44a57f9242395..04e7eb24cafd6a5ca3bc8c6528a5a9d33008f74c 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>