summaryrefslogtreecommitdiffstats
path: root/archive-tar.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2023-12-23 18:14:51 +0100
committerJunio C Hamano <gitster@pobox.com>2023-12-26 21:04:31 +0100
commitc2c4138c07ca4d5ffc41ace0bfda0f189d3e262e (patch)
tree3f3fe2b05aff44eee5e79e158e1566fbfdef95fd /archive-tar.c
parenttreewide: remove unnecessary includes in source files (diff)
downloadgit-c2c4138c07ca4d5ffc41ace0bfda0f189d3e262e.tar.xz
git-c2c4138c07ca4d5ffc41ace0bfda0f189d3e262e.zip
archive.h: remove unnecessary include
The unnecessary include in the header transitively pulled in some other headers actually needed by source files, though. Have those source files explicitly include the headers they need. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-tar.c')
-rw-r--r--archive-tar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/archive-tar.c b/archive-tar.c
index 0726996839..f2a0ed7752 100644
--- a/archive-tar.c
+++ b/archive-tar.c
@@ -9,6 +9,7 @@
#include "tar.h"
#include "archive.h"
#include "object-store-ll.h"
+#include "strbuf.h"
#include "streaming.h"
#include "run-command.h"
#include "write-or-die.h"