[CLEANUP] remove ifdef MSG_NOSIGNAL and define it instead
ifdefs are really annoying in the code. Define MSG_NOSIGNAL to zero
when undefined and remove associated ifdefs.
diff --git a/include/common/compat.h b/include/common/compat.h
index 8d406e5..dec5d7d 100644
--- a/include/common/compat.h
+++ b/include/common/compat.h
@@ -54,6 +54,11 @@
#define SHUT_WR 1
#endif
+/* only Linux defines it */
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
+
/* AIX does not define MSG_DONTWAIT. We'll define it to zero, and test it
* wherever appropriate.
*/