summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRichard Genoud <[email protected]>2026-03-13 11:42:25 +0100
committerTom Rini <[email protected]>2026-03-26 11:04:28 -0600
commit5e23f7f9f3b3c8fe78ed3aadeed9b187ba8930da (patch)
tree6cc06faf082c1617d1fd2b40ebe0a3c92e1118d4 /include
parent0fe2801730edb99e24b601b043ec5595af319274 (diff)
fs/squashfs: squashfs.h: include file should be self dependent
Otherwise, we get a lot of errors when including this file. Signed-off-by: Richard Genoud <[email protected]> Reviewed-by: Tom Rini <[email protected]> Reviewed-by: Miquel Raynal <[email protected]> Reviewed-by: João Marcos Costa <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/squashfs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/squashfs.h b/include/squashfs.h
index 7489eefa1f2..83ed8a49442 100644
--- a/include/squashfs.h
+++ b/include/squashfs.h
@@ -10,7 +10,10 @@
#ifndef _SQFS_H_
#define _SQFS_H_
-struct disk_partition;
+#include <fs.h>
+#include <blk.h>
+#include <part.h>
+#include <linux/types.h>
int sqfs_opendir(const char *filename, struct fs_dir_stream **dirsp);
int sqfs_readdir(struct fs_dir_stream *dirs, struct fs_dirent **dentp);