libselinux: fix missing include after glibc-2.26

This commit is contained in:
Vladimír Čunát 2017-11-06 20:18:15 +01:00
parent 3562c2cfa7
commit 1ac1581253
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
postPatch = optionalString enablePython ''
sed -i -e 's|\$(LIBDIR)/libsepol.a|${libsepol}/lib/libsepol.a|' src/Makefile
''
+ ''
sed '1i#include <sys/uio.h>' -i src/setrans_client.c
'';
preBuild = ''