Index: /trunk/zoo-project/zoo-kernel/service.c
===================================================================
--- /trunk/zoo-project/zoo-kernel/service.c	(revision 842)
+++ /trunk/zoo-project/zoo-kernel/service.c	(revision 843)
@@ -1594,2 +1594,22 @@
   m=&trorf;
 }
+
+#ifdef WIN32
+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
Index: /trunk/zoo-project/zoo-kernel/service.h
===================================================================
--- /trunk/zoo-project/zoo-kernel/service.h	(revision 842)
+++ /trunk/zoo-project/zoo-kernel/service.h	(revision 843)
@@ -32,4 +32,8 @@
 #else
 #define ZOO_DLL_EXPORT 
+#endif
+
+#ifdef WIN32
+ZOO_DLL_EXPORT char *strcasestr (char const *,char const *);
 #endif
 
Index: /trunk/zoo-project/zoo-kernel/zoo_loader.c
===================================================================
--- /trunk/zoo-project/zoo-kernel/zoo_loader.c	(revision 842)
+++ /trunk/zoo-project/zoo-kernel/zoo_loader.c	(revision 843)
@@ -63,27 +63,4 @@
 #ifndef FALSE
 #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
 
Index: /trunk/zoo-project/zoo-kernel/zoo_service_loader.c
===================================================================
--- /trunk/zoo-project/zoo-kernel/zoo_service_loader.c	(revision 842)
+++ /trunk/zoo-project/zoo-kernel/zoo_service_loader.c	(revision 843)
@@ -40,5 +40,5 @@
 #include "ulinet.h"
 
-#include <libintl.h>
+#include <libinti.h>
 #include <locale.h>
 #include <string.h>
@@ -107,28 +107,4 @@
 #ifndef WIN32
 extern char **environ;
-#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
 
