From ac02de97b856aa8805d81edcaa561a1d77527a4d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 29 Aug 2024 16:23:17 -0400 Subject: Fix includes --- src/bar.c | 1 + src/ctx.c | 3 ++- src/diag.c | 1 - src/eval.c | 1 + src/opt.c | 1 + src/pwcache.c | 2 -- src/sighook.c | 1 + 7 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/bar.c b/src/bar.c index 24e51e9..3258df0 100644 --- a/src/bar.c +++ b/src/bar.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/src/ctx.c b/src/ctx.c index 411038e..2c55a35 100644 --- a/src/ctx.c +++ b/src/ctx.c @@ -14,13 +14,14 @@ #include "sighook.h" #include "stat.h" #include "trie.h" -#include "xtime.h" #include #include #include #include #include +#include +#include #include /** Get the initial value for ctx->threads (-j). */ diff --git a/src/diag.c b/src/diag.c index 590d45c..4909cf5 100644 --- a/src/diag.c +++ b/src/diag.c @@ -11,7 +11,6 @@ #include "dstring.h" #include "expr.h" -#include #include #include #include diff --git a/src/eval.c b/src/eval.c index a97c73b..9789b5d 100644 --- a/src/eval.c +++ b/src/eval.c @@ -34,6 +34,7 @@ #include #include #include +#include #include #include #include diff --git a/src/opt.c b/src/opt.c index 425a540..290cf77 100644 --- a/src/opt.c +++ b/src/opt.c @@ -28,6 +28,7 @@ #include "opt.h" #include "bfs.h" +#include "bfstd.h" #include "bftw.h" #include "bit.h" #include "color.h" diff --git a/src/pwcache.c b/src/pwcache.c index c2b575e..fa19dad 100644 --- a/src/pwcache.c +++ b/src/pwcache.c @@ -10,8 +10,6 @@ #include #include #include -#include -#include /** Represents cache hits for negative results. */ static void *MISSING = &MISSING; diff --git a/src/sighook.c b/src/sighook.c index 861a0b5..4356fdb 100644 --- a/src/sighook.c +++ b/src/sighook.c @@ -27,6 +27,7 @@ #include "thread.h" #include +#include #include #include #include -- cgit v1.2.3