]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
testsuite: Add missing.h include
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 11 Jun 2024 13:09:19 +0000 (08:09 -0500)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 11 Jun 2024 13:15:36 +0000 (08:15 -0500)
basename() moved to missing.h when the libc doesn't provide it, but
testsuite is not including it. Add missing include.

Fixes: 11eb9bc67c31 ("Use portable implementation for basename API")
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
testsuite/testsuite.c

index 318343ac8cdff33ae76dbfcbbd7bb1990b608d11..f4280be2ab12d65d6020bfcd1806ab3041ded941 100644 (file)
@@ -32,6 +32,7 @@
 #include <sys/stat.h>
 #include <sys/wait.h>
 
+#include <shared/missing.h>
 #include <shared/util.h>
 
 #include "testsuite.h"