From: Theodore Ts'o Date: Sat, 18 May 2024 04:56:58 +0000 (-0400) Subject: libext2fs: add ext2_types.h to qcow2.h X-Git-Tag: v1.47.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45e2950dbc220e0c6a61a97fdbb8fc3686abf71a;p=thirdparty%2Fe2fsprogs.git libext2fs: add ext2_types.h to qcow2.h The qcow2.h header file uses types such __u32 which are defined in ext2_types.h. So include it directly to avoid relying on users of the qcow2.h header file to include right dependencies. Signed-off-by: Theodore Ts'o --- diff --git a/lib/ext2fs/qcow2.h b/lib/ext2fs/qcow2.h index b649c9cf..343e85ab 100644 --- a/lib/ext2fs/qcow2.h +++ b/lib/ext2fs/qcow2.h @@ -24,6 +24,8 @@ * %End-Header% */ +#include + /* Number of l2 tables in memory before writeback */ #define L2_CACHE_PREALLOC 512