diff options
author | Nikias Bassen | 2014-03-24 03:35:09 +0100 |
---|---|---|
committer | Nikias Bassen | 2014-03-24 03:35:09 +0100 |
commit | 2155eed0770893983561346699008da2d4c5be90 (patch) | |
tree | 6b301fb62c5e53c552488c129e910e1a21500fb8 | |
parent | 753fa37d4300aaaba1efc114839fc769774b2c33 (diff) | |
download | libimobiledevice-2155eed0770893983561346699008da2d4c5be90.tar.gz libimobiledevice-2155eed0770893983561346699008da2d4c5be90.tar.bz2 |
win32: Silence compiler warning about missing previous declaration of DllMain
-rw-r--r-- | src/idevice.c | 5 |
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> |