author | schurig <schurig> | 2003-06-04 11:53:19 (UTC) |
---|---|---|
committer | schurig <schurig> | 2003-06-04 11:53:19 (UTC) |
commit | e23848abe917d689ee9d8f7b78ff5e5047a3ed43 (patch) (side-by-side diff) | |
tree | c23bf1cbb116ad2f8e523746867cf0494aa4af89 | |
parent | df76591a8ee920c6549bc55b026ab66926917667 (diff) | |
download | opie-e23848abe917d689ee9d8f7b78ff5e5047a3ed43.zip opie-e23848abe917d689ee9d8f7b78ff5e5047a3ed43.tar.gz opie-e23848abe917d689ee9d8f7b78ff5e5047a3ed43.tar.bz2 |
enable compilation
-rw-r--r-- | libopie2/opienet/onetwork.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h index eb9d506..cfb999d 100644 --- a/libopie2/opienet/onetwork.h +++ b/libopie2/opienet/onetwork.h @@ -25,62 +25,63 @@ -. .:....=;==+<; You should have received a copy of the GNU -_. . . )=. = Library General Public License along with -- :-=` this library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef ONETWORK_H #define ONETWORK_H /* OPIE */ #include <opie2/onetutils.h> /* QT */ #include <qvaluelist.h> #include <qdict.h> #include <qmap.h> #include <qobject.h> #include <qhostaddress.h> -#ifndef IFNAMSIZ -#define IFNAMSIZ 16 -#endif -#ifndef IW_MAX_PRIV_DEF -#define IW_MAX_PRIV_DEF 128 -#endif - // ML: Yeah, I hate to include kernel headers, but it's necessary here // ML: Here comes an ugly hack to prevent <linux/wireless.h> including <linux/if.h> // ML: which conflicts with the user header <net/if.h> // ML: We really need a user header for the Wireless Extensions, something like <net/wireless.h> // ML: I will drop Jean a mail on that subject #include <net/if.h> + +#ifndef IFNAMSIZ +#define IFNAMSIZ 16 +#endif +#ifndef IW_MAX_PRIV_DEF +#define IW_MAX_PRIV_DEF 128 +#endif + #define _LINUX_IF_H #include <linux/wireless.h> class ONetworkInterface; class OWirelessNetworkInterface; class OChannelHopper; class OMonitoringInterface; /*====================================================================================== * ONetwork *======================================================================================*/ /** * @brief A container class for all network interfaces * * This class provides access to all available network interfaces of your computer. * * @author Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de> */ class ONetwork : public QObject { Q_OBJECT public: |