blob: f1a31b40d0fc1fe30b9890154c3b29822f61a199 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
diff --git a/src/modules/module-protocol-native.c b/src/modules/module-protocol-native.c
index 131657f..7b56863 100644
--- a/src/modules/module-protocol-native.c
+++ b/src/modules/module-protocol-native.c
@@ -58,6 +58,11 @@
#define UNIX_PATH_MAX 108
#endif
+/* Required for s390x */
+#ifndef SO_PEERSEC
+#define SO_PEERSEC 31
+#endif
+
static bool debug_messages = 0;
#define LOCK_SUFFIX ".lock"
|