mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-25 04:26:28 +00:00
bswap_* macros are defined in byteswap.h
Fixes ImportError on s390x: /usr/lib64/python3.6/site-packages/setools/policyrep/_qpol.cpython-36m-s390x-linux-gnu.so: undefined symbol: bswap_32
This commit is contained in:
parent
16a3ffbdf1
commit
2ac588919d
@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
#include "qpol_internal.h"
|
#include "qpol_internal.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <byteswap.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user