Include <pthread.h> where it is necessary only
This commit is contained in:
parent
f31b4f46e1
commit
5e3dc6946f
|
@ -28,6 +28,7 @@
|
|||
#include "log.h"
|
||||
#include "ls.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#include <glib.h>
|
||||
|
||||
static bool
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
#include "output_thread.h"
|
||||
#include "pcm_utils.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue