diff options
Diffstat (limited to '')
-rw-r--r-- | src/util/FormatString.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/util/FormatString.cxx b/src/util/FormatString.cxx index c13d0fb52..d222a505c 100644 --- a/src/util/FormatString.cxx +++ b/src/util/FormatString.cxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2013 The Music Player Daemon Project + * Copyright (C) 2003-2014 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -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) { |