treewide: add direct includes currently only pulled in transitively

The next commit will remove a bunch of unnecessary includes, but to do so, we need some of the lower level direct includes that files rely on to be explicitly specified. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elijah Newren committed Dec 23, 2023 at 17:14 UTC ec2101abf3ea00a3cbb4c88c14d6658fa6d09984
4 files changed +4
builtin/commit-graph.c
+1
@@ -11,6 +11,7 @@
11 #include "object-store-ll.h"
12 #include "progress.h"
13 #include "replace-object.h"
14 +#include "strbuf.h"
15 #include "tag.h"
16 #include "trace2.h"
17
builtin/for-each-ref.c
+1
@@ -1,4 +1,5 @@
1 #include "builtin.h"
2 +#include "commit.h"
3 #include "config.h"
4 #include "gettext.h"
5 #include "object.h"
builtin/fsmonitor--daemon.c
+1
@@ -12,6 +12,7 @@
12 #include "compat/fsmonitor/fsm-health.h"
13 #include "compat/fsmonitor/fsm-listen.h"
14 #include "fsmonitor--daemon.h"
15 +#include "repository.h"
16 #include "simple-ipc.h"
17 #include "khash.h"
18 #include "pkt-line.h"
commit-graph.c
+1
@@ -1,5 +1,6 @@
1 #include "git-compat-util.h"
2 #include "config.h"
3 +#include "csum-file.h"
4 #include "gettext.h"
5 #include "hex.h"
6 #include "lockfile.h"