From 57e04d5a77cc9541ad8dcb81a134644ed2a640be Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Tue, 23 Jul 2013 09:19:30 +0200 Subject: built_in: fix build if ARPHRD_IEEE802154_MONITOR is undefined Some 3.x kernel versions seem not to ship yet the definition of ARPHRD_IEEE802154_MONITOR. Add it into built_in.h to let the tools build. Reported-by: Pablo Henrique Reported-by: Tobias Kalbitz Signed-off-by: Daniel Borkmann --- built_in.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/built_in.h b/built_in.h index a431597..9f70561 100644 --- a/built_in.h +++ b/built_in.h @@ -364,6 +364,10 @@ static inline u64 cpu_to_le64(u64 val) # define POLLRDHUP 0x2000 #endif +#ifndef ARPHRD_IEEE802154_MONITOR +# define ARPHRD_IEEE802154_MONITOR 805 +#endif + #ifndef ARPHRD_IP6GRE # define ARPHRD_IP6GRE 823 #endif -- cgit v1.2.3-54-g00ecf