Index: zoo_loader.c
===================================================================
--- zoo_loader.c	(revision 834)
+++ zoo_loader.c	(working copy)
@@ -64,6 +64,29 @@
 #define FALSE -1
 #endif
 
+#ifdef WIN32
+extern "C"
+{
+  __declspec (dllexport) char *strcasestr (char const *a, char const *b)
+#ifndef USE_MS
+  {
+    char *x = zStrdup (a);
+    char *y = zStrdup (b);
+
+      x = _strlwr (x);
+      y = _strlwr (y);
+    char *pos = strstr (x, y);
+    char *ret = pos == NULL ? NULL : (char *) (a + (pos - x));
+      free (x);
+      free (y);
+      return ret;
+  };
+#else
+   ;
+#endif
+}
+#endif
+
 /**
  * Main entry point for cgic.
  * @return 0 on sucess.