summaryrefslogtreecommitdiff
path: root/package/hal/hal02-include-ieee80211-fix.patch
blob: 9e7b5e24954dfcecfad9622a85b2d99fb1de9a8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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>