diff options
Diffstat (limited to 'libusbmuxd/libusbmuxd.c')
| -rw-r--r-- | libusbmuxd/libusbmuxd.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 | |||
| 30 | #include <windows.h> | 30 | #include <windows.h> |
| 31 | #include <winsock2.h> | 31 | #include <winsock2.h> |
| 32 | #define sleep(x) Sleep(x*1000) | 32 | #define sleep(x) Sleep(x*1000) |
| 33 | #define EPROTO 71 | 33 | #ifndef EPROTO |
| 34 | #define EPROTO 134 | ||
| 35 | #endif | ||
| 34 | #define EBADMSG 77 | 36 | #define EBADMSG 77 |
| 35 | #else | 37 | #else |
| 36 | #include <sys/socket.h> | 38 | #include <sys/socket.h> |
