From 6a73ea7f34092c70de68358b6dc18b252f2062b2 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Fri, 9 Feb 2018 14:49:50 +0200 Subject: src: fix build with older glibc glibc before 2.19 missed the definition of IPPROTO_MH. This leads to build failure: parser_bison.y: In function 'nft_parse': parser_bison.y:3793:21: error: 'IPPROTO_MH' undeclared (first use in this function) | MH { $$ = IPPROTO_MH; } ^ Since we have a local definition of IPPROTO_MH in headers.h use that to fix the build. Signed-off-by: Baruch Siach Signed-off-by: Pablo Neira Ayuso --- src/parser_bison.y | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser_bison.y b/src/parser_bison.y index 2e79109f..578bfdc1 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include -- cgit v1.2.3