Index: gsoap/stdsoap2.h --- gsoap/stdsoap2.h.orig +++ gsoap/stdsoap2.h @@ -604,7 +604,9 @@ extern intmax_t __strtoull(const char*, char**, int); # define HAVE_STRTOUL # define HAVE_STRTOLL # define HAVE_STRTOULL -# define HAVE_SYS_TIMEB_H +# ifndef __OpenBSD__ +# define HAVE_SYS_TIMEB_H +# endif # define HAVE_FTIME # define HAVE_RAND_R # define HAVE_GETHOSTBYNAME_R @@ -815,9 +817,6 @@ extern intmax_t __strtoull(const char*, char**, int); # include # endif # ifndef WITH_LEAN -# ifdef HAVE_SYS_TIMEB_H -# include /* for ftime() */ -# endif # include # endif #endif