From 53d3c46bf92b19d82f554bb1cc4d61530e4eddc4 Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 26 Jan 2009 23:47:49 -0600 Subject: [PATCH] configure: Fix detection on OpenBSD. --- configure | 3 +++ configure.ac | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configure b/configure index f7a5ea7019..19d95a0d05 100755 --- a/configure +++ b/configure @@ -8049,6 +8049,9 @@ cat >>conftest.$ac_ext <<_ACEOF #ifdef HAVE_SYS_SOCKETVAR_H # include #endif + #ifdef HAVE_SYS_TIMEOUT_H + # include + #endif #ifdef HAVE_NETINET_IN_H # include #endif diff --git a/configure.ac b/configure.ac index 122191d682..063ea1503b 100644 --- a/configure.ac +++ b/configure.ac @@ -423,6 +423,9 @@ AC_CHECK_HEADERS([netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netin #ifdef HAVE_SYS_SOCKETVAR_H # include #endif + #ifdef HAVE_SYS_TIMEOUT_H + # include + #endif #ifdef HAVE_NETINET_IN_H # include #endif