summaryrefslogtreecommitdiff
path: root/src/document.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.c')
-rw-r--r--src/document.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/document.c b/src/document.c
index a856205..e32a13c 100644
--- a/src/document.c
+++ b/src/document.c
@@ -7,7 +7,9 @@
#include "stack.h"
-#ifdef _MSC_VER
+#ifndef _MSC_VER
+#include <strings.h>
+#else
#define strncasecmp _strnicmp
#endif