$OpenBSD: patch-gsoap_stdsoap2_h,v 1.4 2017/09/13 10:30:22 robert Exp $
Index: gsoap/stdsoap2.h
--- gsoap/stdsoap2.h.orig
+++ gsoap/stdsoap2.h
@@ -550,7 +550,9 @@ extern intmax_t __strtoull(const char*, char**, int);
 #  define HAVE_SSCANF
 #  define HAVE_STRTOL
 #  define HAVE_STRTOUL
-#  define HAVE_SYS_TIMEB_H
+#  ifndef __OpenBSD__
+#    define HAVE_SYS_TIMEB_H
+#  endif
 #  define HAVE_FTIME
 #  define HAVE_RAND_R
 #  define HAVE_GETHOSTBYNAME_R
@@ -774,9 +776,6 @@ extern intmax_t __strtoull(const char*, char**, int);
 #   include <sys/types.h>
 #  endif
 #  ifndef WITH_LEAN
-#   ifdef HAVE_SYS_TIMEB_H
-#    include <sys/timeb.h>              /* for ftime() */
-#   endif
 #   include <time.h>
 #  endif
 # endif
