From ffd78b153bbed44e9c5d82b1e58e22b041535ff4 Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Fri, 19 Oct 2007 16:18:27 -0500 Subject: [PATCH] configure: netinet/in_pcb.h and netinet/ip_var.h require netinet/in.h on Mac OS X. --- configure | 3 +++ configure.ac | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configure b/configure index efcf3adbb93..86adc794d47 100755 --- a/configure +++ b/configure @@ -7169,6 +7169,9 @@ cat >>conftest.$ac_ext <<_ACEOF #if HAVE_SYS_SOCKETVAR_H # include #endif + #if HAVE_NETINET_IN_H + # include + #endif #include <$ac_header> _ACEOF diff --git a/configure.ac b/configure.ac index 199e2bb96cb..55c65624698 100644 --- a/configure.ac +++ b/configure.ac @@ -284,6 +284,9 @@ AC_CHECK_HEADERS([netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if #endif #if HAVE_SYS_SOCKETVAR_H # include + #endif + #if HAVE_NETINET_IN_H + # include #endif]) AC_CHECK_HEADERS([netinet/tcp_var.h],,,