diff options
Diffstat (limited to 'libproxy/modules/pacrunner_duktape.cpp')
-rw-r--r-- | libproxy/modules/pacrunner_duktape.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libproxy/modules/pacrunner_duktape.cpp b/libproxy/modules/pacrunner_duktape.cpp index 8288e13..12e3df6 100644 --- a/libproxy/modules/pacrunner_duktape.cpp +++ b/libproxy/modules/pacrunner_duktape.cpp @@ -19,7 +19,13 @@ ******************************************************************************/ #include "../extension_pacrunner.hpp" +#ifdef _WIN32 +#include <winsock2.h> +#include <ws2tcpip.h> +#pragma comment(lib, "Ws2_32.lib") +#else #include <unistd.h> // gethostname +#endif using namespace libproxy; #include <duktape.h> |