$OpenBSD: patch-provider_soap_soapdefs_h,v 1.5 2012/05/05 16:56:17 ajacoutot Exp $

Needs newlocale(3) and xlocale.h.

--- provider/soap/soapdefs.h.orig	Thu May  3 16:37:07 2012
+++ provider/soap/soapdefs.h	Sat May  5 17:41:56 2012
@@ -2,7 +2,9 @@
 #define SOAPDEFS_H_
 
 /* we want soap to use strtod_l */
+#ifndef __OpenBSD__
 #define WITH_C_LOCALE
+#endif
 
 #include <platform.h>
 
@@ -12,7 +14,12 @@
  * this limit.
  */
 #ifndef _FORTIFY_SOURCE
-# include <bits/types.h>
+# ifdef __OpenBSD__ 
+#  include <sys/types.h>
+#  include <sys/select.h>
+# else
+#  include <bits/types.h>
+# endif
 # undef __FD_SETSIZE
 # define __FD_SETSIZE 8192
 #endif
