summaryrefslogtreecommitdiff
path: root/ghc/lib/misc/cbits/regex.c
diff options
context:
space:
mode:
authorsof <unknown>1999-05-05 10:34:55 +0000
committersof <unknown>1999-05-05 10:34:55 +0000
commitba6cc3283b363c5aa2839a217e5162e272814174 (patch)
tree7ae5960e6e26793b44ca4f1e85c95b669d366eb4 /ghc/lib/misc/cbits/regex.c
parente548e8aa01501daa9ac475af7e8318ff888dc2da (diff)
downloadhaskell-ba6cc3283b363c5aa2839a217e5162e272814174.tar.gz
[project @ 1999-05-05 10:34:53 by sof]
stubs for starting & stopping Winsock
Diffstat (limited to 'ghc/lib/misc/cbits/regex.c')
-rw-r--r--ghc/lib/misc/cbits/regex.c2
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))