-rw-r--r-- | libopie2/opiecore/oglobalsettings.cpp | 6 | ||||
-rw-r--r-- | libopie2/opienet/onetwork.cpp | 3 | ||||
-rw-r--r-- | libopie2/opienet/onetwork.h | 8 |
3 files changed, 13 insertions, 4 deletions
diff --git a/libopie2/opiecore/oglobalsettings.cpp b/libopie2/opiecore/oglobalsettings.cpp index 184ee69..1799529 100644 --- a/libopie2/opiecore/oglobalsettings.cpp +++ b/libopie2/opiecore/oglobalsettings.cpp | |||
@@ -474,5 +474,5 @@ void OGlobalSettings::initColors() | |||
474 | { | 474 | { |
475 | if ( not OpieHighlight ) OpieHighlight = new QColor( 156, 118, 32 ); | 475 | if ( !OpieHighlight ) OpieHighlight = new QColor( 156, 118, 32 ); |
476 | if ( not OpieAlternate ) OpieAlternate = new QColor( 238, 246, 255 ); | 476 | if ( !OpieAlternate ) OpieAlternate = new QColor( 238, 246, 255 ); |
477 | if ( not OpieGray ) OpieGray = new QColor( 220, 210, 215 ); | 477 | if ( !OpieGray ) OpieGray = new QColor( 220, 210, 215 ); |
478 | } | 478 | } |
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 | |||
@@ -53,2 +53,3 @@ | |||
53 | #include <unistd.h> | 53 | #include <unistd.h> |
54 | #include <linux/sockios.h> | ||
54 | #include <linux/wireless.h> | 55 | #include <linux/wireless.h> |
@@ -727,3 +728,3 @@ void OHostAPMonitoringInterface::setEnabled( bool b ) | |||
727 | #else | 728 | #else |
728 | int* args = (int*) &_if._iwr.u.name; | 729 | int* args = (int*) &_if->_iwr.u.name; |
729 | args[0] = 2; | 730 | args[0] = 2; |
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 | |||
@@ -50,3 +50,7 @@ | |||
50 | // ML: #include <net/if.h> e.g. conflicts with #include <linux/wireless.h> | 50 | // ML: #include <net/if.h> e.g. conflicts with #include <linux/wireless.h> |
51 | |||
52 | #ifndef IFNAMSIZ | ||
51 | #define IFNAMSIZ 16 | 53 | #define IFNAMSIZ 16 |
54 | #endif | ||
55 | |||
52 | #include <linux/wireless.h> | 56 | #include <linux/wireless.h> |
@@ -54,2 +58,6 @@ | |||
54 | 58 | ||
59 | #ifndef SIOCIWFIRSTPRIV | ||
60 | #define SIOCIWFIRSTPRIV SIOCDEVPRIVATE | ||
61 | #endif | ||
62 | |||
55 | class ONetworkInterface; | 63 | class ONetworkInterface; |