From 7000b3b29fa669e27ade5a25adb8e524f49283ba Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <barracuda@macos-powerpc.org>
Date: Thu, 5 Dec 2024 14:37:30 +0800
Subject: [PATCH] scgi_task: allow compiling when MSG_NOSIGNAL undefined

---
 src/rpc/scgi_task.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git src/rpc/scgi_task.cc src/rpc/scgi_task.cc
index 160ba50..e939e07 100644
--- src/rpc/scgi_task.cc
+++ src/rpc/scgi_task.cc
@@ -51,6 +51,10 @@
 #include "globals.h"
 #include "scgi.h"
 
+#ifndef MSG_NOSIGNAL
+#define MSG_NOSIGNAL 0
+#endif
+
 // Test:
 // #include "core/manager.h"
 // #include <rak/timer.h>
