summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-03-24 03:35:09 +0100
committerGravatar Nikias Bassen2014-03-24 03:35:09 +0100
commit2155eed0770893983561346699008da2d4c5be90 (patch)
tree6b301fb62c5e53c552488c129e910e1a21500fb8 /src
parent753fa37d4300aaaba1efc114839fc769774b2c33 (diff)
downloadlibimobiledevice-2155eed0770893983561346699008da2d4c5be90.tar.gz
libimobiledevice-2155eed0770893983561346699008da2d4c5be90.tar.bz2
win32: Silence compiler warning about missing previous declaration of DllMain
Diffstat (limited to 'src')
-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>