From 8b1959134ea954584b56e1098d48d137e16e0e12 Mon Sep 17 00:00:00 2001 From: Austin English Date: Wed, 21 Jan 2009 21:59:11 -0600 Subject: [PATCH] iphplapi: Include for OpenBSD/NetBSD. --- configure | 2 ++ configure.ac | 1 + dlls/iphlpapi/ipstats.c | 3 +++ include/config.h.in | 3 +++ 4 files changed, 9 insertions(+) diff --git a/configure b/configure index 8f4a3d850fa..f327766190d 100755 --- a/configure +++ b/configure @@ -7503,6 +7503,7 @@ done + for ac_header in \ @@ -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 25e78e8ba0d..1a2828d2d93 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 5c11c21bef7..5d0be71c80e 100644 --- a/dlls/iphlpapi/ipstats.c +++ b/dlls/iphlpapi/ipstats.c @@ -37,6 +37,9 @@ #ifdef HAVE_SYS_SOCKETVAR_H #include #endif +#ifdef HAVE_SYS_TIMEOUT_H +#include +#endif #ifdef HAVE_NETINET_IN_H #include #endif diff --git a/include/config.h.in b/include/config.h.in index bb43b61bc0e..db83db07eff 100644 --- a/include/config.h.in +++ b/include/config.h.in @@ -900,6 +900,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_THR_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TIMEOUT_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIMES_H