mesos: fixup includes with glibc-2.26

This commit is contained in:
Vladimír Čunát 2017-11-07 18:54:55 +01:00
parent efc46c2836
commit 7e571b9a99
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -60,6 +60,8 @@ in stdenv.mkDerivation rec {
"CXXFLAGS=-O2 -Wno-error=strict-aliasing"
)
substituteInPlace 3rdparty/stout/include/stout/jsonify.hpp \
--replace '<xlocale.h>' '<locale.h>'
# Fix cases where makedev(),major(),minor() are referenced through
# <sys/types.h> instead of <sys/sysmacros.h>
sed 1i'#include <sys/sysmacros.h>' -i src/linux/fs.cpp