diff options
author | Max Kellermann <max@duempel.org> | 2013-11-28 11:50:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-28 11:50:54 +0100 |
commit | f90abe9530ef1075bc9b60e0f08f405d2d86f799 (patch) | |
tree | 60f4052123e03cd326ec64f4b6cd711784d651b2 /src/util | |
parent | 46bab7e4b921b79924643bacd08dcd3d1404ceb6 (diff) | |
download | mpd-f90abe9530ef1075bc9b60e0f08f405d2d86f799.tar.gz mpd-f90abe9530ef1075bc9b60e0f08f405d2d86f799.tar.xz mpd-f90abe9530ef1075bc9b60e0f08f405d2d86f799.zip |
include cleanup using iwyu
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/Error.hxx | 1 | ||||
-rw-r--r-- | src/util/FormatString.cxx | 5 | ||||
-rw-r--r-- | src/util/Tokenizer.cxx | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/src/util/Error.hxx b/src/util/Error.hxx index facb461dc..aa704d593 100644 --- a/src/util/Error.hxx +++ b/src/util/Error.hxx @@ -24,6 +24,7 @@ #include "Compiler.h" #include <string> +#include <utility> #include <assert.h> diff --git a/src/util/FormatString.cxx b/src/util/FormatString.cxx index c13d0fb52..ea6d41860 100644 --- a/src/util/FormatString.cxx +++ b/src/util/FormatString.cxx @@ -19,10 +19,13 @@ #include "FormatString.hxx" -#include <string.h> #include <stdio.h> #include <stdlib.h> +#ifdef WIN32 +#include <string.h> +#endif + char * FormatNewV(const char *fmt, va_list args) { diff --git a/src/util/Tokenizer.cxx b/src/util/Tokenizer.cxx index 1c8af23fd..c9eb3949e 100644 --- a/src/util/Tokenizer.cxx +++ b/src/util/Tokenizer.cxx @@ -26,9 +26,6 @@ #include <glib.h> -#include <assert.h> -#include <string.h> - static constexpr Domain tokenizer_domain("tokenizer"); static inline bool |