diff options
author | Michael Krelin <hacker@klever.net> | 2007-05-01 16:29:28 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2007-05-01 16:29:28 +0000 |
commit | 93e261aa5a108614f041be38934ddb29b5e6e911 (patch) | |
tree | 1039496e30fdddde417efc2c6b1388fe7894ea85 /packages | |
parent | 14d8757a50c592986ccc236b6dcd5bf4b61f894b (diff) |
libopie2: add missing include. Patch from polyonymous. Thanks. closes 2193.
Diffstat (limited to 'packages')
-rw-r--r-- | packages/libopie/libopie2/wireless.patch | 12 | ||||
-rw-r--r-- | packages/libopie/libopie2_cvs.bb | 5 |
2 files changed, 15 insertions, 2 deletions
diff --git a/packages/libopie/libopie2/wireless.patch b/packages/libopie/libopie2/wireless.patch new file mode 100644 index 0000000000..c0b2fa0f55 --- /dev/null +++ b/packages/libopie/libopie2/wireless.patch @@ -0,0 +1,12 @@ +diff --git a/opienet/onetwork.h b/opienet/onetwork.h +index b13c7a3..370ad59 100644 +--- a/opienet/onetwork.h ++++ b/opienet/onetwork.h +@@ -45,6 +45,7 @@ + // 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 diff --git a/packages/libopie/libopie2_cvs.bb b/packages/libopie/libopie2_cvs.bb index 39376a84fc..55e7587103 100644 --- a/packages/libopie/libopie2_cvs.bb +++ b/packages/libopie/libopie2_cvs.bb @@ -1,12 +1,13 @@ require ${PN}.inc PV = "1.2.2+cvs${SRCDATE}" -PR = "r7" +PR = "r8" DEFAULT_PREFERENCE = "-1" SRC_URI = "${HANDHELDS_CVS};module=opie/libopie2 \ - file://include.pro" + file://include.pro \ + file://wireless.patch;patch=1" # Patches merged upstream, keep for reference (for 1.2.2) # file://ipaq-lcd-rotate-cleanup.patch;patch=1 \ |