diff options
author | Thomas Jansen <mithi@mithi.net> | 2008-12-28 21:02:05 +0100 |
---|---|---|
committer | Thomas Jansen <mithi@mithi.net> | 2008-12-28 21:02:05 +0100 |
commit | 5e3dc6946f13e721030b887b60e383b58879bc62 (patch) | |
tree | 18ab532882626e9af988f6c62f4c69994d72421e | |
parent | f31b4f46e17f2af17b4d6549d16e8f111b21688d (diff) | |
download | mpd-5e3dc6946f13e721030b887b60e383b58879bc62.tar.gz mpd-5e3dc6946f13e721030b887b60e383b58879bc62.tar.xz mpd-5e3dc6946f13e721030b887b60e383b58879bc62.zip |
Include <pthread.h> where it is necessary only
-rw-r--r-- | src/decoder_thread.c | 1 | ||||
-rw-r--r-- | src/dirvec.c | 1 | ||||
-rw-r--r-- | src/log.c | 1 | ||||
-rw-r--r-- | src/os_compat.h | 1 | ||||
-rw-r--r-- | src/output_control.c | 1 |
5 files changed, 2 insertions, 3 deletions
diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 2be0937da..093c67f90 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -28,6 +28,7 @@ #include "log.h" #include "ls.h" +#include <pthread.h> #include <glib.h> static bool diff --git a/src/dirvec.c b/src/dirvec.c index a9e59ab68..b24512a1c 100644 --- a/src/dirvec.c +++ b/src/dirvec.c @@ -5,6 +5,7 @@ #include <string.h> #include <glib.h> +#include <pthread.h> static pthread_mutex_t nr_lock = PTHREAD_MUTEX_INITIALIZER; @@ -32,7 +32,6 @@ #include <time.h> #include <unistd.h> #include <errno.h> -#include <pthread.h> #include <glib.h> #ifdef HAVE_SYSLOG diff --git a/src/os_compat.h b/src/os_compat.h index a034af10c..0a9673bc0 100644 --- a/src/os_compat.h +++ b/src/os_compat.h @@ -48,7 +48,6 @@ #include <errno.h> #include <assert.h> #include <sys/param.h> -#include <pthread.h> #include <sys/ioctl.h> #include <ctype.h> #include <stdarg.h> diff --git a/src/output_control.c b/src/output_control.c index 26e9b3cd3..4bf398d0a 100644 --- a/src/output_control.c +++ b/src/output_control.c @@ -22,7 +22,6 @@ #include "output_thread.h" #include "pcm_utils.h" -#include <pthread.h> #include <assert.h> #include <stdlib.h> |