diff options
Diffstat (limited to 'src/tools/tor-resolve.c')
-rw-r--r-- | src/tools/tor-resolve.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c index 04815a63f7..29f85c4d17 100644 --- a/src/tools/tor-resolve.c +++ b/src/tools/tor-resolve.c @@ -5,9 +5,9 @@ #include "orconfig.h" #include "compat.h" -#include "../common/util.h" +#include "util.h" #include "address.h" -#include "../common/torlog.h" +#include "torlog.h" #include "sandbox.h" #include <stdio.h> @@ -33,13 +33,9 @@ #endif #ifdef _WIN32 -#if defined(_MSC_VER) && (_MSC_VER <= 1300) -#include <winsock.h> -#else #include <winsock2.h> #include <ws2tcpip.h> #endif -#endif #define RESPONSE_LEN_4 8 #define log_sock_error(act, _s) \ @@ -331,7 +327,7 @@ do_resolve(const char *hostname, uint32_t sockshost, uint16_t socksport, static void usage(void) { - puts("Syntax: tor-resolve [-4] [-5] [-v] [-x] [-F] [-p port] " + puts("Syntax: tor-resolve [-4] [-5] [-v] [-x] [-p port] " "hostname [sockshost[:socksport]]"); exit(1); } |