]> The Tcpdump Group git mirrors - libpcap/commitdiff
When testing whether <netinet/if_ether.h> declares ether_hostton(), add
authorguy <guy>
Sun, 27 Mar 2005 21:51:23 +0000 (21:51 +0000)
committerguy <guy>
Sun, 27 Mar 2005 21:51:23 +0000 (21:51 +0000)
all the extra #includes and definitions nametoaddr.c has.

configure
configure.in

index 3c706db2102357429cbecdd4dabdda318f42ea2b..0af326d7b9266215f305eda5ee7483beff1efc42 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.118 .
+# From configure.in Revision: 1.119 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.57.
 #
@@ -4415,6 +4415,10 @@ cat >>conftest.$ac_ext <<_ACEOF
 
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
+struct mbuf;
+struct rtentry;
+#include <net/if.h>
 #include <netinet/if_ether.h>
 
 
index 50cf4ffda270ec259310c94fce5c30c99b8bd1d8..72a07f6fa050796933c1fddfbf5edbb4fe2a3e20 100644 (file)
@@ -1,4 +1,4 @@
-dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.118 2005-03-27 03:36:36 guy Exp $ (LBL)
+dnl @(#) $Header: /tcpdump/master/libpcap/configure.in,v 1.119 2005-03-27 21:51:23 guy Exp $ (LBL)
 dnl
 dnl Copyright (c) 1994, 1995, 1996, 1997
 dnl    The Regents of the University of California.  All rights reserved.
@@ -6,7 +6,7 @@ dnl
 dnl Process this file with autoconf to produce a configure script.
 dnl
 
-AC_REVISION($Revision: 1.118 $)
+AC_REVISION($Revision: 1.119 $)
 AC_PREREQ(2.50)
 AC_INIT(pcap.c)
 
@@ -92,6 +92,10 @@ if test "$ac_cv_func_ether_hostton" = yes; then
                    [
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
+struct mbuf;
+struct rtentry;
+#include <net/if.h>
 #include <netinet/if_ether.h>
                    ])
        fi