--- BlockOut/Http.cpp.orig 2014-05-06 16:47:54.000000000 +0700 +++ BlockOut/Http.cpp 2015-08-17 10:39:47.000000000 +0600 @@ -25,6 +25,7 @@ #include #include #include +#include #define closesocket close #else #include @@ -46,6 +47,10 @@ #define WAIT_FOR_READ 1 #define WAIT_FOR_WRITE 2 +#ifndef ENOSR +#define ENOSR 9922 +#endif + // ------------------------------------------------------- Http::Http() {