summaryrefslogtreecommitdiffstats
path: root/package/hal/hal02-include-ieee80211-fix.patch
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 23:21:36 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 23:21:36 +0000
commitaf9a0ccb79723bef3c597ea72e417de968164c99 (patch)
tree3c4276485e0ae825e5aa6d1298f6757f9a973805 /package/hal/hal02-include-ieee80211-fix.patch
parent8cc56adc391887c5f156de83c65fdbba2f31a1fe (diff)
downloadbuildroot-novena-af9a0ccb79723bef3c597ea72e417de968164c99.tar.gz
buildroot-novena-af9a0ccb79723bef3c597ea72e417de968164c99.zip
Add new 'hal' package.
Diffstat (limited to 'package/hal/hal02-include-ieee80211-fix.patch')
-rw-r--r--package/hal/hal02-include-ieee80211-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/hal/hal02-include-ieee80211-fix.patch b/package/hal/hal02-include-ieee80211-fix.patch
new file mode 100644
index 000000000..9e7b5e249
--- /dev/null
+++ b/package/hal/hal02-include-ieee80211-fix.patch
@@ -0,0 +1,15 @@
+diff -ur hal-0.5.8/hald/linux/classdev.c hal-0.5.8-patched/hald/linux/classdev.c
+--- hal-0.5.8/hald/linux/classdev.c 2006-09-11 18:32:56.000000000 -0500
++++ hal-0.5.8-patched/hald/linux/classdev.c 2007-01-13 22:00:46.896769548 -0600
+@@ -32,7 +32,10 @@
+ #include <ctype.h>
+ #include <limits.h>
+ #include <linux/types.h>
+-#include <net/if_arp.h> /* for ARPHRD_... */
++#include <linux/if_arp.h> /* for ARPHRD_... */
++#ifndef ARPHRD_IEEE80211_RADIOTAP
++# define ARPHRD_IEEE80211_RADIOTAP 803
++#endif
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdint.h>