batman-adv: Prevent FTBFS when redefining ether_setup 318/head
authorSven Eckelmann <sven@narfation.org>
Sat, 12 Aug 2017 06:54:47 +0000 (08:54 +0200)
committerSven Eckelmann <sven@narfation.org>
Sat, 12 Aug 2017 06:54:47 +0000 (08:54 +0200)
commit187937b35ab81d06aab6db71e150f5b47d21a362
tree54c95b0bfd26d5d5e7170c2433fb3a93dd568db4
parent77a88d5d0b21d516f10aa47fe5ee787211a6e177
batman-adv: Prevent FTBFS when redefining ether_setup

batman-adv must make sure that ether_setup is already declared via
linux/netdevice.h before the preprocessor can patch the use of it in
batman-adv. Otherwise it is tried to also patch the declaration of
ether_setup.

Fixes: 8da2f5cbb128 ("batman-adv: upgrade package to latest release 2017.2")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
batman-adv/files/compat-hacks.h