tools: ynl: add header guards for nlctrl
authorJakub Kicinski <kuba@kernel.org>
Fri, 15 Mar 2024 00:21:08 +0000 (17:21 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 19 Mar 2024 10:33:02 +0000 (11:33 +0100)
commit9966e329d6756ea80832376991eb5b0d5ff2cf6b
tree4d481e3c1af4750a090f7a2095d861542b2b9a08
parent710fe438e34f3dc76d1badd0d786f0d3abdc3bfd
tools: ynl: add header guards for nlctrl

I "extracted" YNL C into a GitHub repo to make it easier
to use in other projects: https://github.com/linux-netdev/ynl-c

GitHub actions use Ubuntu by default, and the kernel headers
there are missing f329a0ebeaba ("genetlink: correct uAPI defines").
Add the direct include workaround for nlctrl.

Fixes: 768e044a5fd4 ("doc/netlink/specs: Add spec for nlctrl netlink family")
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20240315002108.523232-1-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/net/ynl/Makefile.deps