diff --git a/mongoose.h b/mongoose.h index 5109171d..6fdf3bb1 100644 --- a/mongoose.h +++ b/mongoose.h @@ -1235,6 +1235,10 @@ int sl_set_ssl_opts(struct mg_connection *nc); #define EWOULDBLOCK WSAEWOULDBLOCK #endif +#ifndef EAGAIN +#define EAGAIN EWOULDBLOCK +#endif + #ifndef __func__ #define STRX(x) #x #define STR(x) STRX(x)