1 From 381eaa40735385a1a60e5ab0a7daf4bb847fc2ab Mon Sep 17 00:00:00 2001
2 From: Baruch Siach <baruch@tkos.co.il>
3 Date: Fri, 9 Feb 2018 14:42:31 +0200
4 Subject: [PATCH] src: fix build with older glibc
6 glibc before 2.19 missed the definition of IPPROTO_MH. This leads to
9 parser_bison.y: In function 'nft_parse':
10 parser_bison.y:3793:21: error: 'IPPROTO_MH' undeclared (first use in this function)
11 | MH { $$ = IPPROTO_MH; }
14 Since we have a local definition of IPPROTO_MH in headers.h use that to
17 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
19 Upstream status: https://marc.info/?l=netfilter-devel&m=151818061103886&w=2
21 src/parser_bison.y | 1 +
22 1 file changed, 1 insertion(+)
24 diff --git a/src/parser_bison.y b/src/parser_bison.y
25 index 2e79109f4da3..578bfdc10429 100644
26 --- a/src/parser_bison.y
27 +++ b/src/parser_bison.y
30 #include <statement.h>
31 #include <expression.h>