]> git.stg.codes - stg.git/blobdiff - stargazer/plugins/other/radius/conn.cpp
Fix build on OSX.
[stg.git] / stargazer / plugins / other / radius / conn.cpp
index a209409ba95e36f1e490d03217c0211b70ea3733..d8bca57f6242b880c2b0cbd06f2121b254982393 100644 (file)
 #include <sys/types.h>
 #include <sys/socket.h>
 
+#ifndef MSG_NOSIGNAL
+// On OSX this flag does not exist.
+#define MSG_NOSIGNAL 0
+#endif
+
 using STG::Conn;
 using STG::Config;
 using STG::JSON::Parser;