summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opienet/onetwork.h1
-rw-r--r--noncore/settings/networksettings/wlan/wextensions.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h
index b13c7a3..370ad59 100644
--- a/libopie2/opienet/onetwork.h
+++ b/libopie2/opienet/onetwork.h
@@ -42,12 +42,13 @@
#include <qhostaddress.h>
/* STD */
// hacky workarounds until we have a true user space wireless.h
#include <net/if.h>
#define _LINUX_IF_H
+#include <linux/types.h>
#include <linux/wireless.h>
#ifndef IW_MAX_PRIV_DEF
#define IW_MAX_PRIV_DEF 128
#endif
namespace Opie {
diff --git a/noncore/settings/networksettings/wlan/wextensions.h b/noncore/settings/networksettings/wlan/wextensions.h
index a89e33a..aceb672 100644
--- a/noncore/settings/networksettings/wlan/wextensions.h
+++ b/noncore/settings/networksettings/wlan/wextensions.h
@@ -1,12 +1,14 @@
#ifndef WEXTENSIONS_H
#define WEXTENSIONS_H
#include <qstring.h>
+#include <net/if.h>
#include <netinet/ip.h>
+#include <linux/types.h>
#include <linux/wireless.h>
class WExtensions {
public:
WExtensions(QString interfaceName);