Fix the linux/ipx.h detection.

Francois Gouget fgouget at codeweavers.com
Mon Aug 7 14:52:36 CDT 2006


Note:
- I have removed the configure diff. It has to to be regenerated by 
running autoconf.

---
 configure    |   85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 configure.ac |   11 +++++++-
 2 files changed, 93 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index daa79fa..de3151b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -283,6 +283,15 @@ AC_CHECK_HEADERS([net/if.h net/if_arp.h 
      # include <sys/socket.h>
      #endif])
 
+AC_CHECK_HEADERS([linux/ipx.h],,,
+    [#include <sys/types.h>
+     #ifdef HAVE_ASM_TYPES_H
+     # include <asm/types.h>
+     #endif
+     #if HAVE_SYS_SOCKET_H
+     # include <sys/socket.h>
+     #endif])
+
 AC_CHECK_HEADERS([resolv.h],,,
     [#include <sys/types.h>
      #if HAVE_SYS_SOCKET_H
@@ -297,7 +306,7 @@ AC_CHECK_HEADERS([resolv.h],,,
 
 AC_CHECK_HEADERS(ucontext.h,,,[#include <signal.h>])
 
-AC_CHECK_HEADERS([linux/ipx.h linux/videodev.h],,,
+AC_CHECK_HEADERS([linux/videodev.h],,,
 [#ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif
-- 
1.4.1




More information about the wine-patches mailing list