diff --git a/src/event/SignalMonitor.cxx b/src/event/SignalMonitor.cxx index c060d3b95..dbb0c05d0 100644 --- a/src/event/SignalMonitor.cxx +++ b/src/event/SignalMonitor.cxx @@ -38,13 +38,12 @@ #include #include +#include #ifdef USE_SIGNALFD #include #endif -#include - class SignalMonitor final : private SocketMonitor { #ifdef USE_SIGNALFD SignalFD fd; diff --git a/src/system/FileDescriptor.hxx b/src/system/FileDescriptor.hxx index 5fabd17dd..3faec2ce4 100644 --- a/src/system/FileDescriptor.hxx +++ b/src/system/FileDescriptor.hxx @@ -38,7 +38,7 @@ #include #ifdef __linux__ -#include +#include #endif #ifdef _WIN32 diff --git a/src/system/SignalFD.hxx b/src/system/SignalFD.hxx index 6c6347283..6d45d060f 100644 --- a/src/system/SignalFD.hxx +++ b/src/system/SignalFD.hxx @@ -32,7 +32,7 @@ #include "UniqueFileDescriptor.hxx" -#include +#include /** * A class that wraps signalfd(). diff --git a/src/unix/Daemon.cxx b/src/unix/Daemon.cxx index d20f7d7e1..dffd4fe54 100644 --- a/src/unix/Daemon.cxx +++ b/src/unix/Daemon.cxx @@ -32,8 +32,8 @@ #include #ifndef _WIN32 +#include #include -#include #include #include #endif diff --git a/src/unix/SignalHandlers.cxx b/src/unix/SignalHandlers.cxx index 5dbb47778..514b0c0be 100644 --- a/src/unix/SignalHandlers.cxx +++ b/src/unix/SignalHandlers.cxx @@ -28,7 +28,7 @@ #include "system/Error.hxx" #include "util/Domain.hxx" -#include +#include static constexpr Domain signal_handlers_domain("signal_handlers");