From 45e2950dbc220e0c6a61a97fdbb8fc3686abf71a Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 18 May 2024 00:56:58 -0400 Subject: [PATCH] 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 --- lib/ext2fs/qcow2.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ext2fs/qcow2.h b/lib/ext2fs/qcow2.h index b649c9c..343e85a 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 -- 1.8.3.1