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 #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 #ifndef __user #define __user - #endif - #include ]) + #endif) AC_MSG_CHECKING([iwlib version]) AC_TRY_COMPILE([#define HEADERS_KERNEL @@ -127,7 +126,6 @@ #ifndef __user #define __user #endif - #include #include ], [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 #include "netlink.h" #include "rtnetlink.h" -#include #include #include -#include #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 #include #include -#include #include #include #include