From 53d3c46bf92b19d82f554bb1cc4d61530e4eddc4 Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish@gmail.com>
Date: Mon, 26 Jan 2009 23:47:49 -0600
Subject: [PATCH] configure: Fix <netinet/tcp_var.h> detection on OpenBSD.

---
 configure    | 3 +++
 configure.ac | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/configure b/configure
index f7a5ea70195..19d95a0d051 100755
--- a/configure
+++ b/configure
@@ -8049,6 +8049,9 @@ cat >>conftest.$ac_ext <<_ACEOF
      #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/configure.ac b/configure.ac
index 122191d6821..063ea1503bb 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 <sys/socketvar.h>
      #endif
+     #ifdef HAVE_SYS_TIMEOUT_H
+     # include <sys/timeout.h>
+     #endif
      #ifdef HAVE_NETINET_IN_H
      # include <netinet/in.h>
      #endif
-- 
GitLab