commit | a4ed7a3f63bbcb72721f20d625293b6647b045c0 | [log] [tgz] |
---|---|---|
author | Nikias Bassen <nikias@gmx.li> | Mon May 18 01:50:56 2020 +0200 |
committer | Nikias Bassen <nikias@gmx.li> | Mon May 18 01:50:56 2020 +0200 |
tree | fda57cab5bd98fcbaed150ee1ebf4192fb4025a4 | |
parent | 43d26976120dc51f1d77098d8c96db9dc3f07765 [diff] |
iproxy: Fix build on win32
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 @@ #include <pthread.h> #include <netinet/in.h> #include <signal.h> -#include <getopt.h> #endif #include "socket.h" #include "usbmuxd.h"