compat: drop inclusion of <git-compat-util.h>

These two header files are included from ordinary source files that
already include <git-compat-util.h> as the first header file as they
should.  There is no need to include the compat-util in these
headers.

"make hdr-check" is not affected, as it is designed to assume that
what <git-compat-util.h> offers is available to everybody without
being included.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Junio C Hamano 2024-02-24 12:32:51 -08:00
parent 0d464a4e6a
commit 2ca6c07db2
2 changed files with 0 additions and 2 deletions

View file

@ -1,7 +1,6 @@
#ifndef COMPILER_H
#define COMPILER_H
#include "git-compat-util.h"
#include "strbuf.h"
#ifdef __GLIBC__

View file

@ -1,7 +1,6 @@
#ifndef COMPAT_DISK_H
#define COMPAT_DISK_H
#include "git-compat-util.h"
#include "abspath.h"
#include "gettext.h"