fsmonitor--daemon.h: remove unnecessary includes

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>
This commit is contained in:
Elijah Newren 2023-12-23 17:14:53 +00:00 committed by Junio C Hamano
parent bd6cc1d9ec
commit 31d20faa90
5 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,7 @@
#include "builtin.h"
#include "abspath.h"
#include "config.h"
#include "dir.h"
#include "environment.h"
#include "gettext.h"
#include "parse-options.h"
@ -14,6 +15,7 @@
#include "simple-ipc.h"
#include "khash.h"
#include "pkt-line.h"
#include "run-command.h"
#include "trace.h"
#include "trace2.h"

View file

@ -4,6 +4,7 @@
#include "fsm-health.h"
#include "fsmonitor--daemon.h"
#include "gettext.h"
#include "simple-ipc.h"
/*
* Every minute wake up and test our health.

View file

@ -29,6 +29,7 @@
#include "fsmonitor--daemon.h"
#include "fsmonitor-path-utils.h"
#include "gettext.h"
#include "simple-ipc.h"
#include "string-list.h"
#include "trace.h"

View file

@ -4,6 +4,7 @@
#include "fsm-listen.h"
#include "fsmonitor--daemon.h"
#include "gettext.h"
#include "simple-ipc.h"
#include "trace2.h"
/*

View file

@ -3,9 +3,7 @@
#ifdef HAVE_FSMONITOR_DAEMON_BACKEND
#include "dir.h"
#include "run-command.h"
#include "simple-ipc.h"
#include "hashmap.h"
#include "thread-utils.h"
#include "fsmonitor-path-utils.h"