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:05 +0000 |
commit | 32729b5f7e9845d23fac82eb822a8166233f0b23 (patch) | |
tree | 7b4b26f136ac686a385c4a77dac19d094048673b | |
parent | 8cdf200e30555280a5346fcd502ed6d51b2df030 (diff) | |
download | vboot-32729b5f7e9845d23fac82eb822a8166233f0b23.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/1421582
-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 */ |