From 9631a38c55acd203c305bb721dbd1a347bf6ce20 Mon Sep 17 00:00:00 2001
From: Nikias Bassen
Date: Tue, 30 Jul 2013 00:57:12 +0200
Subject: libusbmuxd: use 134 for EPROTO in win32 and only define it if it's
 not defined already.

Thanks saurik for pointing this out.
---
 libusbmuxd/libusbmuxd.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'libusbmuxd')

diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c
index b4afe8e..4a59639 100644
--- a/libusbmuxd/libusbmuxd.c
+++ b/libusbmuxd/libusbmuxd.c
@@ -30,7 +30,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 #include <windows.h>
 #include <winsock2.h>
 #define sleep(x) Sleep(x*1000)
-#define EPROTO 71
+#ifndef EPROTO
+#define EPROTO 134
+#endif
 #define EBADMSG 77
 #else
 #include <sys/socket.h>
-- 
cgit v1.1-32-gdbae