summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/idevice.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/idevice.c b/src/idevice.c
index 8bc22fb..0577815 100644
--- a/src/idevice.c
+++ b/src/idevice.c
@@ -29,6 +29,11 @@
#include <string.h>
#include <errno.h>
+#ifdef WIN32
+#include <windows.h>
+int APIENTRY DllMain(HANDLE hModule, DWORD dwReason, LPVOID lpReserved);
+#endif
+
#include <usbmuxd.h>
#ifdef HAVE_OPENSSL
#include <openssl/ssl.h>