summaryrefslogtreecommitdiffstats
path: root/tools/iproxy.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-11-27 05:03:15 +0100
committerGravatar Nikias Bassen2020-11-27 05:05:18 +0100
commitc56e112ee48909b4bad90fcbb95352c5914bd30f (patch)
tree93b2256a2a896db4e2f4efc8e7e776fb8bcbbef5 /tools/iproxy.c
parent73cb5c182e36e7aafcff8a8932b21c6ab5cae5a6 (diff)
downloadlibusbmuxd-c56e112ee48909b4bad90fcbb95352c5914bd30f.tar.gz
libusbmuxd-c56e112ee48909b4bad90fcbb95352c5914bd30f.tar.bz2
socket: Fix build on Windows
Diffstat (limited to 'tools/iproxy.c')
-rw-r--r--tools/iproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iproxy.c b/tools/iproxy.c
index 0a52c67..28fcb46 100644
--- a/tools/iproxy.c
+++ b/tools/iproxy.c
@@ -38,8 +38,8 @@
#include <errno.h>
#include <getopt.h>
#ifdef WIN32
-#include <windows.h>
#include <winsock2.h>
+#include <windows.h>
typedef unsigned int socklen_t;
#else
#include <sys/select.h>