summaryrefslogtreecommitdiff
path: root/common/utf8conv.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/utf8conv.c')
-rw-r--r--common/utf8conv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/utf8conv.c b/common/utf8conv.c
index bdab225..1f01841 100644
--- a/common/utf8conv.c
+++ b/common/utf8conv.c
@@ -55,6 +55,10 @@
#include "stringhelp.h"
#include "utf8conv.h"
+#ifdef HAVE_W32_SYSTEM
+#include <windows.h>
+#endif
+
#ifndef MB_LEN_MAX
#define MB_LEN_MAX 16
#endif