diff --git a/src/proxy.h b/src/proxy.h index 85beda4..aee4fc6 100644 --- a/src/proxy.h +++ b/src/proxy.h @@ -116,6 +116,10 @@ void daemonize(void); #ifdef _WIN32 #define strcasecmp stricmp #define strncasecmp strnicmp +#else +#ifndef _set_errno +#define _set_errno(x) (errno = x) +#endif #endif #ifndef SOCKET_ERROR