From: Lucas De Marchi Date: Thu, 3 Apr 2025 04:39:17 +0000 (-0500) Subject: tmpfile-util: Drop libgen.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec9ccdadf07675b2ae6b65e92d810ba0e6bfdad9;p=thirdparty%2Fkmod.git tmpfile-util: Drop libgen.h We don't want the version of basename() that may leak memory - we want the sane one. I remembered to add the missing.h while editing commit aae48bc9f73a ("depmod: add tmpfile-util to generate temporary file") to merge it, but completely forgot to remove the libgen.h. Fix it now. Fixes: aae48bc9f73a ("depmod: add tmpfile-util to generate temporary file") Signed-off-by: Lucas De Marchi Reviewed-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/335 --- diff --git a/shared/tmpfile-util.c b/shared/tmpfile-util.c index 06d2c6c7..4d6fc557 100644 --- a/shared/tmpfile-util.c +++ b/shared/tmpfile-util.c @@ -5,7 +5,6 @@ #include #include -#include #include #include #include