]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink.c
Allow MeshLink to be cross-compiled for Windows.
[meshlink] / src / meshlink.c
index 816f77abe630540d7f3f2724be887d505c0cd4e0..21838ab7d34b919251a0857c5863904020b35030 100644 (file)
@@ -40,6 +40,9 @@ typedef struct {
 #include "xalloc.h"
 #include "ed25519/sha512.h"
 
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
 
 //TODO: this can go away completely
 const var_t variables[] = {