ws2_32(3/8): Test for linux/irda.h (try 3)

Juan Lang juan.lang at gmail.com
Tue Aug 11 14:21:23 CDT 2009


--Juan
-------------- next part --------------
From d51df18bfd719b0cba16b5d425a0425a0305937d Mon Sep 17 00:00:00 2001
From: Juan Lang <juan.lang at gmail.com>
Date: Mon, 10 Aug 2009 09:34:55 -0700
Subject: [PATCH 3/8] Test for linux/irda.h

---
 configure.ac        |    9 +++++++++
 include/config.h.in |    3 +++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index e637722..9b1ae5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -491,6 +491,15 @@ AC_CHECK_HEADERS([linux/ipx.h],,,
      # include <linux/types.h>
      #endif])
 
+AC_CHECK_HEADERS([linux/irda.h],,,
+    [#include <sys/types.h>
+     #ifdef HAVE_LINUX_TYPES_H
+     # include <linux/types.h>
+     #endif
+     #ifdef HAVE_SYS_SOCKET_H
+     # include <sys/socket.h>
+     #endif])
+
 AC_CHECK_HEADERS([mach-o/dyld_images.h],,,
     [#ifdef HAVE_STDBOOL_H
      # include <stdbool.h>
diff --git a/include/config.h.in b/include/config.h.in
index 56d6fd9..f74c86b 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -393,6 +393,9 @@
 /* Define to 1 if you have the <linux/ioctl.h> header file. */
 #undef HAVE_LINUX_IOCTL_H
 
+/* Define to 1 if you have the <linux/irda.h> header file. */
+#undef HAVE_LINUX_IRDA_H
+
 /* Define to 1 if you have the <linux/ipx.h> header file. */
 #undef HAVE_LINUX_IPX_H
 
-- 
1.6.3.2


More information about the wine-patches mailing list