diff options
author | Thomas Haller <thaller@redhat.com> | 2023-09-08 19:32:19 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-09-11 23:41:38 +0200 |
commit | 702f9905b616a8400eae1ae3ad88029e733a91b8 (patch) | |
tree | 0ec7e9dbce2a4766939850cd21c06d240c0385d0 /src | |
parent | b90b2482aa026ffbc9105348098094c4b09c1dc4 (diff) |
parser_bison: include <nft.h> for base C environment to "parser_bison.y"
All our C sources should include <nft.h> as first. This prepares an
environment of things that we expect to have available in all our C
sources (and indirectly in our internal header files, because internal
header files are always indirectly from a C source).
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/parser_bison.y | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y index 4a0c09a2..bfd53ab3 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -9,6 +9,7 @@ */ %{ +#include <nft.h> #include <ctype.h> #include <stddef.h> |