Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2e837
)
libext2fs: add ext2_types.h to qcow2.h
author
Theodore Ts'o
<tytso@mit.edu>
Sat, 18 May 2024 04:56:58 +0000
(
00:56
-0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Sat, 18 May 2024 04:56:58 +0000
(
00:56
-0400)
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 <tytso@mit.edu>
lib/ext2fs/qcow2.h
patch
|
blob
|
history
diff --git
a/lib/ext2fs/qcow2.h
b/lib/ext2fs/qcow2.h
index
b649c9c
..
343e85a
100644
(file)
--- a/
lib/ext2fs/qcow2.h
+++ b/
lib/ext2fs/qcow2.h
@@
-24,6
+24,8
@@
* %End-Header%
*/
+#include <ext2fs/ext2_types.h>
+
/* Number of l2 tables in memory before writeback */
#define L2_CACHE_PREALLOC 512