module-protocol-native: fix build on s390x

This commit is contained in:
Rasmus Thomsen 2020-03-08 09:42:09 +01:00 committed by Wim Taymans
parent cfd829913e
commit fba9d8931d

View file

@ -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"