summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2020-05-18 01:50:56 +0200
committerGravatar Nikias Bassen2020-05-18 01:50:56 +0200
commita4ed7a3f63bbcb72721f20d625293b6647b045c0 (patch)
treefda57cab5bd98fcbaed150ee1ebf4192fb4025a4
parent43d26976120dc51f1d77098d8c96db9dc3f07765 (diff)
downloadlibusbmuxd-a4ed7a3f63bbcb72721f20d625293b6647b045c0.tar.gz
libusbmuxd-a4ed7a3f63bbcb72721f20d625293b6647b045c0.tar.bz2
iproxy: Fix build on win32
-rw-r--r--tools/iproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/iproxy.c b/tools/iproxy.c
index d4b0cb9..787f098 100644
--- a/tools/iproxy.c
+++ b/tools/iproxy.c
@@ -33,6 +33,7 @@
#include <stddef.h>
#include <unistd.h>
#include <errno.h>
+#include <getopt.h>
#ifdef WIN32
#include <windows.h>
#include <winsock2.h>
@@ -44,7 +45,6 @@ typedef unsigned int socklen_t;
#include <pthread.h>
#include <netinet/in.h>
#include <signal.h>
-#include <getopt.h>
#endif
#include "socket.h"
#include "usbmuxd.h"