]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
tools: add missing stdio.h include
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 3 Oct 2024 16:02:45 +0000 (17:02 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 9 Oct 2024 04:20:00 +0000 (23:20 -0500)
Required for puts(), reported by clang-tidy.

Fixes: b644b8d7 ("tools: add kmod_version() helper")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/172
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/kmod.h

index be85ec1ce13383535fae5390b124c7c272c357cf..1eb54835ae44b6fadd4e3d5ba11432926b32757f 100644 (file)
@@ -5,6 +5,8 @@
 
 #pragma once
 
+#include <stdio.h>
+
 #include <shared/macro.h>
 
 struct kmod_cmd {