forked from mirrors/nixpkgs
mesos: fixup includes with glibc-2.26
This commit is contained in:
parent
efc46c2836
commit
7e571b9a99
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue