summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetwork.h
authormickeyl <mickeyl>2003-03-30 02:48:55 (UTC)
committer mickeyl <mickeyl>2003-03-30 02:48:55 (UTC)
commit1d5a00fa8db662c4a5f6490d26d4e2ef1836f118 (patch) (side-by-side diff)
treef805788cab0fb5395e1e2e9c6e18b3644c9b91e6 /libopie2/opienet/onetwork.h
parent35e4d0b2a71b8ca15baeb0b0383af21fc1d8d3ae (diff)
downloadopie-1d5a00fa8db662c4a5f6490d26d4e2ef1836f118.zip
opie-1d5a00fa8db662c4a5f6490d26d4e2ef1836f118.tar.gz
opie-1d5a00fa8db662c4a5f6490d26d4e2ef1836f118.tar.bz2
yet more fixes for gcc 2.9x and for our ancient wireless extensions on the Z... *sigh*
Diffstat (limited to 'libopie2/opienet/onetwork.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opienet/onetwork.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h
index 936ac85..56da5f4 100644
--- a/libopie2/opienet/onetwork.h
+++ b/libopie2/opienet/onetwork.h
@@ -48,10 +48,18 @@
// ML: Yeah, I hate to include kernel headers, but it's necessary here
// ML: Recent RedHat and MandrakePatches to the Kernel and WE broke something
// ML: #include <net/if.h> e.g. conflicts with #include <linux/wireless.h>
+
+#ifndef IFNAMSIZ
#define IFNAMSIZ 16
+#endif
+
#include <linux/wireless.h>
#include <net/if.h>
+#ifndef SIOCIWFIRSTPRIV
+#define SIOCIWFIRSTPRIV SIOCDEVPRIVATE
+#endif
+
class ONetworkInterface;
class OWirelessNetworkInterface;
class OChannelHopper;