diff options
author | Hung-Te Lin <hungte@chromium.org> | 2019-01-22 10:51:27 +0800 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2019-01-22 02:56:05 +0000 |
commit | 6d520b033b4ce9f30a7e0bb33f0a5214aefac797 (patch) | |
tree | 1b99d3507d9656b8f3a2e4678f8a85661af3c39b | |
parent | 6242935351fce4ac652293d6e4132471af67b462 (diff) | |
download | vboot-6d520b033b4ce9f30a7e0bb33f0a5214aefac797.tar.gz |
futility: updater: Fix build failure due to fts.
`fts` in old branches cannot use 64 bit file offset.
BUG=chromium:923934
TEST=emerge-gru vboot_reference
Change-Id: I0184847b19e470c86aac9a7cbb2d7b1f3cbf653d
Reviewed-on: https://chromium-review.googlesource.com/c/1426260
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>
-rw-r--r-- | futility/updater_archive.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/futility/updater_archive.c b/futility/updater_archive.c index 1c8030b7..814bbc0e 100644 --- a/futility/updater_archive.c +++ b/futility/updater_archive.c @@ -5,6 +5,8 @@ * * Accessing updater resources from an archive. */ +#include "host_common.h" +#undef __USE_FILE_OFFSET64 #include <assert.h> #include <ctype.h> |