Message ID | 20230908173226.1182353-1-thaller@redhat.com |
---|---|
State | Accepted |
Headers | show |
Series | [nft,1/2] parser_bison: include <nft.h> for base C environment to "parser_bison.y" | expand |
On Fri, Sep 08, 2023 at 07:32:19PM +0200, Thomas Haller wrote: > 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). Applied, thanks
diff --git a/src/parser_bison.y b/src/parser_bison.y index 4a0c09a2912a..bfd53ab3b63a 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -9,6 +9,7 @@ */ %{ +#include <nft.h> #include <ctype.h> #include <stddef.h>
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> --- src/parser_bison.y | 1 + 1 file changed, 1 insertion(+)