-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 @@ -47,11 +47,4 @@ #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> @@ -61,4 +54,12 @@ #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> |