xsupplicant/xsupplicant-1.2.8-configure.patch

58 lines
2.2 KiB
Diff

diff -Nru xsupplicant-1.2.8.orig/configure xsupplicant-1.2.8/configure
--- xsupplicant-1.2.8.orig/configure 2006-10-07 20:02:55.000000000 +0200
+++ xsupplicant-1.2.8/configure 2007-07-16 13:15:33.000000000 +0200
@@ -4759,7 +4759,6 @@
#ifndef __user
#define __user
#endif
- #include <linux/wireless.h>
#include <$ac_header>
_ACEOF
diff -Nru xsupplicant-1.2.8.orig/configure.in xsupplicant-1.2.8/configure.in
--- xsupplicant-1.2.8.orig/configure.in 2006-10-07 20:02:55.000000000 +0200
+++ xsupplicant-1.2.8/configure.in 2007-07-16 13:15:33.000000000 +0200
@@ -118,8 +118,7 @@
#include <sys/socket.h>
#ifndef __user
#define __user
- #endif
- #include <linux/wireless.h>])
+ #endif)
AC_MSG_CHECKING([iwlib version])
AC_TRY_COMPILE([#define HEADERS_KERNEL
@@ -127,7 +126,6 @@
#ifndef __user
#define __user
#endif
- #include <linux/wireless.h>
#include <iwlib.h>],
[iw_extract_event_stream(NULL, NULL, 0);], [AC_DEFINE(NEW_IWLIB) AC_MSG_RESULT([3 params])], [AC_MSG_RESULT([2 params])])
fi
diff -Nru xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_rtnetlink.c xsupplicant-1.2.8/src/cardif/linux/cardif_linux_rtnetlink.c
--- xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_rtnetlink.c 2006-10-08 05:42:53.000000000 +0200
+++ xsupplicant-1.2.8/src/cardif/linux/cardif_linux_rtnetlink.c 2007-07-16 13:15:59.000000000 +0200
@@ -208,10 +208,8 @@
#include <sys/ioctl.h>
#include "netlink.h"
#include "rtnetlink.h"
-#include <linux/if.h>
#include <linux/if_packet.h>
#include <math.h>
-#include <linux/wireless.h>
#include "profile.h"
#include "xsupconfig.h"
diff -Nru xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_wext.c xsupplicant-1.2.8/src/cardif/linux/cardif_linux_wext.c
--- xsupplicant-1.2.8.orig/src/cardif/linux/cardif_linux_wext.c 2006-10-08 05:42:53.000000000 +0200
+++ xsupplicant-1.2.8/src/cardif/linux/cardif_linux_wext.c 2007-07-16 13:15:59.000000000 +0200
@@ -204,7 +204,6 @@
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/compiler.h>
-#include <linux/wireless.h>
#include <iwlib.h>
#include <linux/if_packet.h>
#include <linux/netlink.h>