diff options
Diffstat (limited to 'ghc/lib/misc/cbits/regex.c')
-rw-r--r-- | ghc/lib/misc/cbits/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/lib/misc/cbits/regex.c b/ghc/lib/misc/cbits/regex.c index 72125642c6..761cb767b0 100644 --- a/ghc/lib/misc/cbits/regex.c +++ b/ghc/lib/misc/cbits/regex.c @@ -94,7 +94,7 @@ char *realloc (); This is used in most programs--a few other programs avoid this by defining INHIBIT_STRING_HEADER. */ #ifndef INHIBIT_STRING_HEADER -#if defined (HAVE_STRING_H) || defined (STDC_HEADERS) || defined (_LIBC) +#if defined (HAVE_STRING_H) || defined (STDC_HEADERS) || defined (_LIBC) || defined(_WIN32) #include <string.h> #ifndef bcmp #define bcmp(s1, s2, n) memcmp ((s1), (s2), (n)) |