summaryrefslogtreecommitdiff
path: root/src/pulse/thread-mainloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse/thread-mainloop.c')
-rw-r--r--src/pulse/thread-mainloop.c4
1 files changed, 4 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>