summaryrefslogtreecommitdiff
path: root/src/system
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-07-05 09:59:00 +0200
committerMax Kellermann <max@musicpd.org>2019-07-05 09:59:58 +0200
commitd663f814202c10d32d50dec26c14d5d448a21f36 (patch)
tree790ae3557406a3e5869feb141bfcc0e0743c3301 /src/system
parent9cdebc90a00a63bbfd2525abc3cec002c4efda81 (diff)
include cleanups (powered by iwyu)
Diffstat (limited to 'src/system')
-rw-r--r--src/system/Clock.hxx4
-rw-r--r--src/system/EpollFD.hxx2
-rw-r--r--src/system/EventPipe.cxx1
3 files changed, 2 insertions, 5 deletions
diff --git a/src/system/Clock.hxx b/src/system/Clock.hxx
index 62a7f7aba..da7c89a4b 100644
--- a/src/system/Clock.hxx
+++ b/src/system/Clock.hxx
@@ -20,12 +20,12 @@
#ifndef MPD_CLOCK_H
#define MPD_CLOCK_H
+#ifdef _WIN32
+
#include "util/Compiler.h"
#include <chrono>
-#ifdef _WIN32
-
/**
* Returns the uptime of the current process in seconds.
*/
diff --git a/src/system/EpollFD.hxx b/src/system/EpollFD.hxx
index ff07c038c..14dc6ddfb 100644
--- a/src/system/EpollFD.hxx
+++ b/src/system/EpollFD.hxx
@@ -35,8 +35,6 @@
#include <sys/epoll.h>
#include <stdint.h>
-struct epoll_event;
-
/**
* A class that wraps Linux epoll.
*/
diff --git a/src/system/EventPipe.cxx b/src/system/EventPipe.cxx
index 297a0f722..f312f9e38 100644
--- a/src/system/EventPipe.cxx
+++ b/src/system/EventPipe.cxx
@@ -20,7 +20,6 @@
#include "EventPipe.hxx"
#include "FileDescriptor.hxx"
#include "system/Error.hxx"
-#include "util/ScopeExit.hxx"
#include "util/Compiler.h"
#include <assert.h>