From 13f7d0b63e8503ef6dfd41d338f17a0bfb418358 Mon Sep 17 00:00:00 2001 From: Lu100git <69283767+Lu100git@users.noreply.github.com> Date: Sun, 12 Apr 2026 19:14:21 -0700 Subject: [PATCH] Update device-info.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I added: #include since I got this error when running the install script: Running make... device-info.c:943:33: error: implicit declaration of function ‘stat’; did you mean ‘strcat’? [-Wimplicit-function-declaration] device-info.c:944:33: error: implicit declaration of function ‘S_ISBLK’; did you mean ‘S_IFBLK’? [-Wimplicit-function-declaration] --- src/device-info.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/device-info.h b/src/device-info.h index 6cb3683..362dd26 100644 --- a/src/device-info.h +++ b/src/device-info.h @@ -7,6 +7,10 @@ #include #include +// added this library due to an error when running install script +#include + + // glib #include