diff options
Diffstat (limited to 'mkfs.ubifs/mkfs.ubifs.h')
-rw-r--r-- | mkfs.ubifs/mkfs.ubifs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mkfs.ubifs/mkfs.ubifs.h b/mkfs.ubifs/mkfs.ubifs.h index 6460bd5..16b34c7 100644 --- a/mkfs.ubifs/mkfs.ubifs.h +++ b/mkfs.ubifs/mkfs.ubifs.h @@ -46,7 +46,9 @@ #include <libgen.h> #include <ctype.h> #include <uuid/uuid.h> +#include <sys/file.h> +#include "libubi.h" #include "crc32.h" #include "defs.h" #include "crc16.h" @@ -128,7 +130,7 @@ extern struct ubifs_info info_; struct hashtable_itr; -int write_leb(int lnum, int len, void *buf); +int write_leb(int lnum, int len, void *buf, int dtype); int parse_devtable(const char *tbl_file); struct path_htbl_element *devtbl_find_path(const char *path); struct name_htbl_element *devtbl_find_name(struct path_htbl_element *ph_elt, |