iphplapi: include <sys/timeout.h> for OpenBSD/NetBSD
Austin English
austinenglish at gmail.com
Wed Jan 21 21:59:11 CST 2009
--
-Austin
-------------- next part --------------
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 f939200..55270d4 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
More information about the wine-patches
mailing list