$OpenBSD: patch-provider_soap_soapdefs_h,v 1.7 2013/01/27 13:06:20 robert Exp $
--- provider/soap/soapdefs.h.orig	Sun Jan 20 17:35:20 2013
+++ provider/soap/soapdefs.h	Sun Jan 20 17:36:35 2013
@@ -6,13 +6,20 @@
  * gSoap will not undef HAVE_STRTOD_L and HAVE_SPRINTF_L (if they
  * were defined in the first place).
  */
+#ifndef __OpenBSD__
 #define WITH_C_LOCALE
+#endif
 
 
 #include <platform.h>
 
-# include <bits/types.h>
-# undef __FD_SETSIZE
-# define __FD_SETSIZE 8192
+#ifdef __OpenBSD__
+#include <sys/types.h>
+#include <sys/select.h>
+#else
+#include <bits/types.h>
+#endif
+#undef __FD_SETSIZE
+#define __FD_SETSIZE 8192
 
 #endif // ndef SOAPDEFS_H_
