diff options
author | Hung-Te Lin <hungte@chromium.org> | 2019-01-18 22:36:18 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2019-01-18 14:51:08 +0000 |
commit | 6242935351fce4ac652293d6e4132471af67b462 (patch) | |
tree | 16132b708f5dab83aa11405c91bf1856a0bff0b7 | |
parent | 4d8931c01900e5a1e9ea4bb4bdd1eab52625ce3e (diff) | |
download | vboot-6242935351fce4ac652293d6e4132471af67b462.tar.gz |
futility: Fix build failure by missing struct declaration
The factory branch seem to not always include vb2 structures
so we have to declare directly in futility.h.
BUG=chromium:923331
TEST=make futil -j
Change-Id: I4b4073244b034426544d8f4f1dd79a0c8c36b7e7
Reviewed-on: https://chromium-review.googlesource.com/c/1421579
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Queue: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Trybot-Ready: Hung-Te Lin <hungte@chromium.org>
(cherry picked from commit b861c14e3f19d712f76093309071873a5bef08b3)
Reviewed-on: https://chromium-review.googlesource.com/c/1421585
-rw-r--r-- | futility/futility.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/futility/futility.h b/futility/futility.h index 18582c6d..b31fd59d 100644 --- a/futility/futility.h +++ b/futility/futility.h @@ -109,6 +109,7 @@ int futil_valid_gbb_header(GoogleBinaryBlockHeader *gbb, uint32_t len, uint32_t *maxlen); /* Updates HWID in GBB properly (and update digest if available). */ +struct vb2_gbb_header; int vb2_change_hwid(struct vb2_gbb_header *gbb, const char *hwid); /* For GBB v1.2 and later, update the hwid_digest */ |