Files
macports-ports/security/putty/files/patch-MSG_NOSIGNAL.diff
2026-06-11 17:30:46 -04:00

14 lines
319 B
Diff

--- unix/network.c 2026-05-15 03:28:46.000000000 +0800
+++ unix/network.c 2026-05-29 17:41:44.000000000 +0800
@@ -32,6 +32,10 @@
# define X11_UNIX_PATH "/tmp/.X11-unix/X"
#endif
+#ifndef MSG_NOSIGNAL
+# define MSG_NOSIGNAL 0
+#endif
+
/*
* Access to sockaddr types without breaking C strict aliasing rules.
*/