hal02-include-ieee80211-fix.patch 559 B

123456789101112131415
  1. diff -ur hal-0.5.8/hald/linux/classdev.c hal-0.5.8-patched/hald/linux/classdev.c
  2. --- hal-0.5.8/hald/linux/classdev.c 2006-09-11 18:32:56.000000000 -0500
  3. +++ hal-0.5.8-patched/hald/linux/classdev.c 2007-01-13 22:00:46.896769548 -0600
  4. @@ -32,7 +32,10 @@
  5. #include <ctype.h>
  6. #include <limits.h>
  7. #include <linux/types.h>
  8. -#include <net/if_arp.h> /* for ARPHRD_... */
  9. +#include <linux/if_arp.h> /* for ARPHRD_... */
  10. +#ifndef ARPHRD_IEEE80211_RADIOTAP
  11. +# define ARPHRD_IEEE80211_RADIOTAP 803
  12. +#endif
  13. #include <stdlib.h>
  14. #include <string.h>
  15. #include <stdint.h>