Alexandre Julliard : configure: Include net/if. h to check for netinet headers on Solaris.

Alexandre Julliard julliard at winehq.org
Fri Jan 30 07:58:28 CST 2009


Module: wine
Branch: master
Commit: d7e846ccd96e90301e966effa5ae046a054e6d03
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d7e846ccd96e90301e966effa5ae046a054e6d03

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Jan 30 14:01:12 2009 +0100

configure: Include net/if.h to check for netinet headers on Solaris.

---

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

diff --git a/configure b/configure
index f2bf40e..6fd07c8 100755
--- a/configure
+++ b/configure
@@ -7971,6 +7971,9 @@ cat >>conftest.$ac_ext <<_ACEOF
      #ifdef HAVE_NETINET_IN_SYSTM_H
      # include <netinet/in_systm.h>
      #endif
+     #ifdef HAVE_NET_IF_H
+     # include <net/if.h>
+     #endif
      #ifdef HAVE_NETINET_IP_H
      # include <netinet/ip.h>
      #endif
diff --git a/configure.ac b/configure.ac
index fe71343..8b78efe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -408,6 +408,9 @@ AC_CHECK_HEADERS(\
      #ifdef HAVE_NETINET_IN_SYSTM_H
      # include <netinet/in_systm.h>
      #endif
+     #ifdef HAVE_NET_IF_H
+     # include <net/if.h>
+     #endif
      #ifdef HAVE_NETINET_IP_H
      # include <netinet/ip.h>
      #endif])




More information about the wine-cvs mailing list