mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
NLMSGERR_ATTR_MAX has been added in kernel 4.16 withdc2b9f19e3resulting in the following build failure since bump to version 2.6.4 in commita46ac23465ande34437c26b: dco_linux.c: In function 'ovpn_nl_cb_error': dco_linux.c:303:27: error: 'NLMSGERR_ATTR_MAX' undeclared (first use in this function); did you mean '__CTRL_ATTR_MAX'? struct nlattr *tb_msg[NLMSGERR_ATTR_MAX + 1]; ^~~~~~~~~~~~~~~~~ __CTRL_ATTR_MAX Fixes: - http://autobuild.buildroot.org/results/69b9737913ac0b5cd2c117d526602874da3ee487 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 45c41098ef50e50c4b0aa426e90e5758bf7bc330) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>