diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2020-03-08 09:42:09 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2020-03-09 08:52:16 +0000 |
commit | fba9d8931dcc76bbec110480c3c16cae1ed20545 (patch) | |
tree | f1e184b231da3c52d3c227d5729cee39f8b4ed47 /src/modules | |
parent | cfd829913e30ad10845b69883f42827df432fb14 (diff) |
module-protocol-native: fix build on s390x
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/module-protocol-native.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/module-protocol-native.c b/src/modules/module-protocol-native.c index 141a8dac..e5d16dcf 100644 --- a/src/modules/module-protocol-native.c +++ b/src/modules/module-protocol-native.c @@ -63,6 +63,11 @@ static const struct spa_dict_item module_props[] = { { PW_KEY_MODULE_VERSION, PACKAGE_VERSION }, }; +/* Required for s390x */ +#ifndef SO_PEERSEC +#define SO_PEERSEC 31 +#endif + static bool debug_messages = 0; #define LOCK_SUFFIX ".lock" |