summaryrefslogtreecommitdiffstats
path: root/src/thread.h
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2019-01-23 01:28:48 +0100
committerGravatar Nikias Bassen2019-01-23 01:28:48 +0100
commit59fae11be8d9b2134b2b60c02c20dcb7ff10ff5d (patch)
tree76e7eca891de12cadf421c003d1c303ba18152e5 /src/thread.h
parenta808accd1e748184933f0e4d97d499d79f34f889 (diff)
downloadidevicerestore-59fae11be8d9b2134b2b60c02c20dcb7ff10ff5d.tar.gz
idevicerestore-59fae11be8d9b2134b2b60c02c20dcb7ff10ff5d.tar.bz2
thread: Silence two compiler warnings
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index 11e789a..feccc94 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -34,6 +34,7 @@ typedef volatile struct {
#define THREAD_ID GetCurrentThreadId()
#else
#include <pthread.h>
+#include <signal.h>
typedef pthread_t thread_t;
typedef pthread_mutex_t mutex_t;
typedef pthread_once_t thread_once_t;