diff options
-rw-r--r-- | src/autolink.c | 4 | ||||
-rw-r--r-- | src/document.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/autolink.c b/src/autolink.c index 5d18fb5..7a99d50 100644 --- a/src/autolink.c +++ b/src/autolink.c @@ -5,7 +5,9 @@ #include <stdio.h> #include <ctype.h> -#ifdef _MSC_VER +#ifndef _MSC_VER +#include <strings.h> +#else #define strncasecmp _strnicmp #endif 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 |