aboutsummaryrefslogtreecommitdiff
path: root/src/netbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/netbase.cpp')
-rw-r--r--src/netbase.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/netbase.cpp b/src/netbase.cpp
index 348771375c..d02490ad4a 100644
--- a/src/netbase.cpp
+++ b/src/netbase.cpp
@@ -15,6 +15,10 @@
#include <boost/algorithm/string/case_conv.hpp> // for to_lower()
#include <boost/algorithm/string/predicate.hpp> // for startswith() and endswith()
+#if !defined(HAVE_MSG_NOSIGNAL)
+#define MSG_NOSIGNAL 0
+#endif
+
using namespace std;
// Settings