aboutsummaryrefslogtreecommitdiffstats
path: root/src/util/FormatString.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/FormatString.cxx')
-rw-r--r--src/util/FormatString.cxx5
1 files changed, 4 insertions, 1 deletions
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)
{