aboutsummaryrefslogtreecommitdiff
path: root/net/nng/files/patch-36d8031
blob: 2438a0351c169bb8b610547a049b9b5f05c729e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
commit 36d803182ceb1ef6bd8a0646e4245c6ee67e4773
Author: Steve Wills <steve@mouf.net>
Date:   Tue Aug 4 14:26:39 2020 -0400

    Fix build on FreeBSD (#1272)

diff --git src/platform/posix/posix_ipcconn.c src/platform/posix/posix_ipcconn.c
index 8dded3a3..c5760e53 100644
--- src/platform/posix/posix_ipcconn.c
+++ src/platform/posix/posix_ipcconn.c
@@ -33,6 +33,10 @@
 #define MSG_NOSIGNAL 0
 #endif
 
+#ifndef SOL_LOCAL
+#define SOL_LOCAL 0
+#endif
+
 #include "posix_ipc.h"
 
 typedef struct nni_ipc_conn ipc_conn;