diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-07-23 09:19:30 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-07-23 09:19:30 +0200 |
commit | 57e04d5a77cc9541ad8dcb81a134644ed2a640be (patch) | |
tree | 10fe27c2fb81286bbeb97b103f9970249998cc4a | |
parent | 29e7beed6e387b78c86e985e0c96e24154a01dec (diff) |
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 <phenrique@gmail.com>
Reported-by: Tobias Kalbitz <tobias.kalbitz@gmail.com>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
-rw-r--r-- | built_in.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |