From: Nick Rosbrook Date: Thu, 26 May 2022 18:32:20 +0000 (-0400) Subject: sd-hwdb: include sys/stat.h in hwdb-internal.h X-Git-Tag: v252-rc1~917^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9745b51c73c78a63003b4cb6e0714829144d297c;p=thirdparty%2Fsystemd.git sd-hwdb: include sys/stat.h in hwdb-internal.h Include this header to fix errors when including hwdb-internal.h: ../src/libsystemd/sd-hwdb/hwdb-internal.h:16:21: error: field ‘st’ has incomplete type 16 | struct stat st; --- diff --git a/src/libsystemd/sd-hwdb/hwdb-internal.h b/src/libsystemd/sd-hwdb/hwdb-internal.h index 5ddc2211e62..62d27f7b896 100644 --- a/src/libsystemd/sd-hwdb/hwdb-internal.h +++ b/src/libsystemd/sd-hwdb/hwdb-internal.h @@ -2,6 +2,7 @@ #pragma once #include +#include #include "def.h" #include "hashmap.h"