From b2a1a69155c04d602801f7ab346a2b00ab895f43 Mon Sep 17 00:00:00 2001 From: Patrick Steinhardt Date: Thu, 17 Oct 2019 08:00:31 +0200 Subject: [PATCH] lib/path: fix missing header for `struct stat` In commit b1418ed14 (lib/path: add ul_path_stat(), fix absolute paths, 2019-10-15), a new function `ul_path_stat()` was added to "path.h". This new function prototype causes a compiler warning on musl libc based systems due to one of the parameters having the unknown type `struct stat` due to the header not being included. Fix the warning by including the header. Signed-off-by: Patrick Steinhardt --- include/path.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/path.h b/include/path.h index 1378a88576..a9bab6dbe0 100644 --- a/include/path.h +++ b/include/path.h @@ -3,6 +3,7 @@ #include #include +#include #include #include -- 2.47.3