Module: wine Branch: master Commit: 8b1959134ea954584b56e1098d48d137e16e0e12 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8b1959134ea954584b56e1098d...
Author: Austin English austinenglish@gmail.com Date: Wed Jan 21 21:59:11 2009 -0600
iphplapi: Include <sys/timeout.h> for OpenBSD/NetBSD.
---
configure | 2 ++ configure.ac | 1 + dlls/iphlpapi/ipstats.c | 3 +++ include/config.h.in | 3 +++ 4 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/configure b/configure index 8f4a3d8..f327766 100755 --- a/configure +++ b/configure @@ -7505,6 +7505,7 @@ done
+ for ac_header in \ AudioUnit/AudioUnit.h \ Carbon/Carbon.h \ @@ -7609,6 +7610,7 @@ for ac_header in \ sys/strtio.h \ sys/syscall.h \ sys/time.h \ + sys/timeout.h \ sys/times.h \ sys/uio.h \ sys/un.h \ diff --git a/configure.ac b/configure.ac index 25e78e8..1a2828d 100644 --- a/configure.ac +++ b/configure.ac @@ -354,6 +354,7 @@ AC_CHECK_HEADERS(\ sys/strtio.h \ sys/syscall.h \ sys/time.h \ + sys/timeout.h \ sys/times.h \ sys/uio.h \ sys/un.h \ diff --git a/dlls/iphlpapi/ipstats.c b/dlls/iphlpapi/ipstats.c index 5c11c21..5d0be71 100644 --- a/dlls/iphlpapi/ipstats.c +++ b/dlls/iphlpapi/ipstats.c @@ -37,6 +37,9 @@ #ifdef HAVE_SYS_SOCKETVAR_H #include <sys/socketvar.h> #endif +#ifdef HAVE_SYS_TIMEOUT_H +#include <sys/timeout.h> +#endif #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif diff --git a/include/config.h.in b/include/config.h.in index bb43b61..db83db0 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -900,6 +900,9 @@ /* Define to 1 if you have the <sys/thr.h> header file. */ #undef HAVE_SYS_THR_H
+/* Define to 1 if you have the <sys/timeout.h> header file. */ +#undef HAVE_SYS_TIMEOUT_H + /* Define to 1 if you have the <sys/times.h> header file. */ #undef HAVE_SYS_TIMES_H