This file defines the current ioctl parameters and data structures. It has been used in user space programs and including linux/types.h is undesired when building for non-kernel code. In addition, ieee80211_shared.h was renamed, so let's also get rid of the #include for it in the non-kernel case.
Signed-off-by: Jouni Malinen <[EMAIL PROTECTED]> Index: wireless-2.6/net/d80211/hostapd_ioctl.h =================================================================== --- wireless-2.6.orig/net/d80211/hostapd_ioctl.h +++ wireless-2.6/net/d80211/hostapd_ioctl.h @@ -13,10 +13,8 @@ #ifndef HOSTAPD_IOCTL_H #define HOSTAPD_IOCTL_H +#ifdef __KERNEL__ #include <linux/types.h> - -#ifndef __KERNEL__ -#include "ieee80211_shared.h" #endif /* __KERNEL__ */ #define PRISM2_IOCTL_PRISM2_PARAM (SIOCIWFIRSTPRIV + 0) -- -- Jouni Malinen PGP id EFC895FA - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html