Commit 5e3dc694 authored by Thomas Jansen's avatar Thomas Jansen

Include <pthread.h> where it is necessary only

parent f31b4f46
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include "log.h" #include "log.h"
#include "ls.h" #include "ls.h"
#include <pthread.h>
#include <glib.h> #include <glib.h>
static bool static bool
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include <string.h> #include <string.h>
#include <glib.h> #include <glib.h>
#include <pthread.h>
static pthread_mutex_t nr_lock = PTHREAD_MUTEX_INITIALIZER; static pthread_mutex_t nr_lock = PTHREAD_MUTEX_INITIALIZER;
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <pthread.h>
#include <glib.h> #include <glib.h>
#ifdef HAVE_SYSLOG #ifdef HAVE_SYSLOG
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>
#include <sys/param.h> #include <sys/param.h>
#include <pthread.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <ctype.h> #include <ctype.h>
#include <stdarg.h> #include <stdarg.h>
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include "output_thread.h" #include "output_thread.h"
#include "pcm_utils.h" #include "pcm_utils.h"
#include <pthread.h>
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment