diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ideviceinstaller.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ideviceinstaller.c b/src/ideviceinstaller.c index 27b4669..190d8a2 100644 --- a/src/ideviceinstaller.c +++ b/src/ideviceinstaller.c @@ -40,6 +40,9 @@ #ifdef HAVE_UNISTD_H #include <unistd.h> #endif +#ifndef WIN32 +#include <signal.h> +#endif #include <libimobiledevice/libimobiledevice.h> #include <libimobiledevice/lockdown.h> @@ -641,6 +644,9 @@ int main(int argc, char **argv) int res = 0; char *bundleidentifier = NULL; +#ifndef WIN32 + signal(SIGPIPE, SIG_IGN); +#endif parse_opts(argc, argv); argc -= optind; |