mesos: fixup includes with glibc-2.26
commit7e571b9a9910d56356aadd8f11c6a4518de9410e
authorVladimír Čunát <vcunat@gmail.com>
dateTue 7 Nov 2017, 18:54 (9 years ago)
parentefc46c2
pkgs/applications/networking/cluster/mesos/default.nix+2
@@ -60,6 +60,8 @@ in stdenv.mkDerivation rec {
6060 "CXXFLAGS=-O2 -Wno-error=strict-aliasing"
6161 )
6262
63+ substituteInPlace 3rdparty/stout/include/stout/jsonify.hpp \
64+ --replace '<xlocale.h>' '<locale.h>'
6365 # Fix cases where makedev(),major(),minor() are referenced through
6466 # <sys/types.h> instead of <sys/sysmacros.h>
6567 sed 1i'#include <sys/sysmacros.h>' -i src/linux/fs.cpp