Index: gsoap/stdsoap2.h
--- gsoap/stdsoap2.h.orig	2008-07-26 20:39:37 +0200
+++ gsoap/stdsoap2.h	2008-07-27 09:22:05 +0200
@@ -465,7 +465,7 @@
 # endif
 #endif
 
-#ifdef WITH_C_LOCALE
+#if defined(HAVE_XLOCALE_H)
 # include <xlocale.h>
 #else
 # undef HAVE_STRTOF_L
