author | aquadran <aquadran> | 2007-06-10 06:17:47 (UTC) |
---|---|---|
committer | aquadran <aquadran> | 2007-06-10 06:17:47 (UTC) |
commit | 85dfcf4f5e7fb28990606b83a02043af19a8c15d (patch) (side-by-side diff) | |
tree | 7a735f00f6f4a6493ea3ebd990d095c3c720db90 /noncore/settings | |
parent | e87affd3d9a8a7d705d0dc3d1a4905e1e3f902d0 (diff) | |
download | opie-85dfcf4f5e7fb28990606b83a02043af19a8c15d.zip opie-85dfcf4f5e7fb28990606b83a02043af19a8c15d.tar.gz opie-85dfcf4f5e7fb28990606b83a02043af19a8c15d.tar.bz2 |
fix missing types for include for latest kernel
-rw-r--r-- | noncore/settings/networksettings/wlan/wextensions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/wlan/wextensions.h b/noncore/settings/networksettings/wlan/wextensions.h index a89e33a..aceb672 100644 --- a/noncore/settings/networksettings/wlan/wextensions.h +++ b/noncore/settings/networksettings/wlan/wextensions.h @@ -1,30 +1,32 @@ #ifndef WEXTENSIONS_H #define WEXTENSIONS_H #include <qstring.h> +#include <net/if.h> #include <netinet/ip.h> +#include <linux/types.h> #include <linux/wireless.h> class WExtensions { public: WExtensions(QString interfaceName); QString getInterfaceName(){return interface;}; bool doesHaveWirelessExtensions(){return hasWirelessExtensions;}; QString station(); QString essid(); QString mode(); double frequency(); int channel(); double rate(); QString ap(); bool stats( int &signal, int &noise, int &quality); private: bool hasWirelessExtensions; QString interface; // Used in we calls struct iwreq iwr; int fd; |