summaryrefslogtreecommitdiffstats
path: root/src/libusbmuxd.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2021-09-01 15:47:38 +0200
committerGravatar Nikias Bassen2021-09-01 15:49:51 +0200
commit8eae9896eedd6a685b55abed9a2db4e379ff0e69 (patch)
treef0f31c95103a4a8487c2b36464d756aa4d008c96 /src/libusbmuxd.c
parent1a7351852d650a481e1ddfa86aed9dc781849b51 (diff)
downloadlibusbmuxd-8eae9896eedd6a685b55abed9a2db4e379ff0e69.tar.gz
libusbmuxd-8eae9896eedd6a685b55abed9a2db4e379ff0e69.tar.bz2
Remove common code in favor of new libimobiledevice-glue
Diffstat (limited to 'src/libusbmuxd.c')
-rw-r--r--src/libusbmuxd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libusbmuxd.c b/src/libusbmuxd.c
index 0c94cde..b16936a 100644
--- a/src/libusbmuxd.c
+++ b/src/libusbmuxd.c
@@ -61,7 +61,6 @@
#else
#include <sys/socket.h>
#include <arpa/inet.h>
-#include <pthread.h>
#if defined(HAVE_PROGRAM_INVOCATION_SHORT_NAME) && !defined(HAVE_PROGRAM_INVOCATION_SHORT_NAME_ERRNO_H)
extern char *program_invocation_short_name;
#endif
@@ -74,6 +73,7 @@ extern int _NSGetExecutablePath(char* buf, uint32_t* bufsize);
#ifdef HAVE_INOTIFY
#include <sys/inotify.h>
#include <sys/select.h>
+#include <pthread.h>
#define EVENT_SIZE (sizeof (struct inotify_event))
#define EVENT_BUF_LEN (1024 * (EVENT_SIZE + 16))
#define USBMUXD_DIRNAME "/var/run"
@@ -103,11 +103,11 @@ static char *prog_name = NULL;
// usbmuxd protocol
#include "usbmuxd-proto.h"
// socket utility functions
-#include "socket.h"
+#include <libimobiledevice-glue/socket.h>
// misc utility functions
-#include "collection.h"
+#include <libimobiledevice-glue/collection.h>
// threads
-#include "thread.h"
+#include <libimobiledevice-glue/thread.h>
static int libusbmuxd_debug = 0;
#ifndef PACKAGE