Skip to content

Commit de532eb

Browse files
committed
Fix missing includes.
1 parent 0b69eef commit de532eb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

bant/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ cc_binary(
5858
"//bant/util:table-printer",
5959
"@abseil-cpp//absl/container:flat_hash_set",
6060
"@abseil-cpp//absl/strings",
61+
"@abseil-cpp//absl/time",
6162
],
6263
)
6364

bant/bant.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,11 @@ int getopt(int, char *const *, const char *); // NOLINT
4141

4242
#include "absl/container/flat_hash_set.h"
4343
#include "absl/strings/numbers.h"
44+
#include "absl/time/time.h"
4445
#include "bant/cli-commands.h"
4546
#include "bant/output-format.h"
4647
#include "bant/session.h"
48+
#include "bant/util/stat.h"
4749

4850
// Generated from at compile time from git tag or MODULE.bazel version
4951
#include "bant/generated-build-version.h"
@@ -293,7 +295,7 @@ int main(int argc, char *argv[]) {
293295
bant::CliStatus result;
294296

295297
{
296-
bant::ScopedTimer timer(&runtime);
298+
const bant::ScopedTimer timer(&runtime);
297299
// Prepare filesystem
298300
bant::FilesystemPrewarmCacheInit(session, argc, argv);
299301
bant::Filesystem &fs = bant::Filesystem::instance();

0 commit comments

Comments
 (0)