tools: ynl: add missing header deps
authorJakub Kicinski <kuba@kernel.org>
Fri, 18 Apr 2025 23:49:42 +0000 (16:49 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 21 Apr 2025 23:48:16 +0000 (16:48 -0700)
commit12b196568a3a7a32d18fc82fdef82832e9b94d0f
tree4f9e23a35137c631e35d8fe272f963d26ebc319d
parent8066e388be48f1ad62b0449dc1d31a25489fa12a
tools: ynl: add missing header deps

Various new families and my recent work on rtnetlink missed
adding dependencies on C headers. If the system headers are
up to date or don't include a given header at all this doesn't
make a difference. But if the system headers are in place but
stale - compilation will break.

Reported-by: Kory Maincent <kory.maincent@bootlin.com>
Fixes: 29d34a4d785b ("tools: ynl: generate code for rt-addr and add a sample")
Link: https://lore.kernel.org/20250418190431.69c10431@kmaincent-XPS-13-7390
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Tested-by: Kory Maincent <kory.maincent@bootlin.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250418234942.2344036-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/Makefile.deps