diff --git a/src/netbase.cpp b/src/netbase.cpp index 289da13..4eea5e5 100644 --- a/src/netbase.cpp +++ b/src/netbase.cpp @@ -17,6 +17,11 @@ #endif #endif +// MSG_NOSIGNAL is not available on some platforms, if it doesn't exist define it as 0 +#if !defined(MSG_NOSIGNAL) +#define MSG_NOSIGNAL 0 +#endif + #include // for to_lower() #include // for startswith() and endswith()