aboutsummaryrefslogtreecommitdiff
path: root/ubifs-utils/common/ubifs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ubifs-utils/common/ubifs.h')
-rw-r--r--ubifs-utils/common/ubifs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ubifs-utils/common/ubifs.h b/ubifs-utils/common/ubifs.h
index 55937ce..0eef31a 100644
--- a/ubifs-utils/common/ubifs.h
+++ b/ubifs-utils/common/ubifs.h
@@ -25,6 +25,9 @@
#ifndef __UBIFS_H__
#define __UBIFS_H__
+#include <mtd/ubifs-media.h>
+#include "libubi.h"
+
/* Maximum logical eraseblock size in bytes */
#define UBIFS_MAX_LEB_SZ (2*1024*1024)
@@ -468,4 +471,6 @@ struct ubifs_branch *ubifs_idx_branch(const struct ubifs_info *c,
(UBIFS_BRANCH_SZ + c->key_len + c->hash_len) * bnum);
}
+int write_leb(int lnum, int len, void *buf);
+
#endif /* __UBIFS_H__ */