···3334 XML_CATALOG_FILES = "${docbook_xml_dtd_45}/xml/dtd/docbook/catalog.xml";
3536+ # FIXME
37+ # glibc 2.25 moved major()/minor() to <sys/sysmacros.h>.
38+ # this commit should detect this: https://github.com/lxc/lxc/pull/1388/commits/af6824fce9c9536fbcabef8d5547f6c486f55fdf
39+ # However autotools checks if mkdev is still defined in <sys/types.h> runs before
40+ # checking if major()/minor() is defined there. The mkdev check succeeds with
41+ # a warning and the check which should set MAJOR_IN_SYSMACROS is skipped.
42+ NIX_CFLAGS_COMPILE = [ "-DMAJOR_IN_SYSMACROS" ];
43+44 configureFlags = [
45 "--localstatedir=/var"
46 "--sysconfdir=/etc"