From 1d5a00fa8db662c4a5f6490d26d4e2ef1836f118 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sun, 30 Mar 2003 02:48:55 +0000 Subject: yet more fixes for gcc 2.9x and for our ancient wireless extensions on the Z... *sigh* --- (limited to 'libopie2/opienet/onetwork.cpp') diff --git a/libopie2/opienet/onetwork.cpp b/libopie2/opienet/onetwork.cpp index 25c70e0..998b50e 100644 --- a/libopie2/opienet/onetwork.cpp +++ b/libopie2/opienet/onetwork.cpp @@ -51,6 +51,7 @@ #include #include #include +#include #include using namespace std; @@ -725,7 +726,7 @@ void OHostAPMonitoringInterface::setEnabled( bool b ) _if->_iwr.u.mode = IW_MODE_MONITOR; _if->wioctl( SIOCSIWMODE ); #else - int* args = (int*) &_if._iwr.u.name; + int* args = (int*) &_if->_iwr.u.name; args[0] = 2; args[1] = 0; _if->wioctl( SIOCDEVPRIVATE ); -- cgit v0.9.0.2