aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSteve Wills <steve@mouf.net>2020-08-04 14:26:39 -0400
committerGitHub <noreply@github.com>2020-08-04 11:26:39 -0700
commit36d803182ceb1ef6bd8a0646e4245c6ee67e4773 (patch)
tree6438c7fcddb0f78c5dbc2b2e05f8c5e237b17692 /src
parent0b7ee395e832165b2e7726231cc12bb06b3bbe5b (diff)
downloadnng-36d803182ceb1ef6bd8a0646e4245c6ee67e4773.tar.gz
nng-36d803182ceb1ef6bd8a0646e4245c6ee67e4773.tar.bz2
nng-36d803182ceb1ef6bd8a0646e4245c6ee67e4773.zip
Fix build on FreeBSD (#1272)
Diffstat (limited to 'src')
-rw-r--r--src/platform/posix/posix_ipcconn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platform/posix/posix_ipcconn.c b/src/platform/posix/posix_ipcconn.c
index 8dded3a3..c5760e53 100644
--- a/src/platform/posix/posix_ipcconn.c
+++ b/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;