ports/devel/gsoap/patches/patch-gsoap_stdsoap2_h

24 lines
648 B
Text

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 <sys/types.h>
# endif
# ifndef WITH_LEAN
-# ifdef HAVE_SYS_TIMEB_H
-# include <sys/timeb.h> /* for ftime() */
-# endif
# include <time.h>
# endif
#endif