b/net/etherwake/patches/200-netinit-if_ether_h.patch
new file mode 100644
@@ -0,0 +1,24 @@
+avoid redefinition of struct struct ethhdr by including
+the libc headers first.
+
+--- ./ether-wake.c.orig 2015-06-22 23:39:23.271788072 +0200
++++ ./ether-wake.c 2015-06-22 23:39:52.771788072 +0200
+@@ -82,6 +82,9 @@
+ #include <linux/if.h>
+
+ #include <features.h>
++#include <netdb.h>
++#include <netinet/ether.h>
++
+ #if __GLIBC__ >= 2 && __GLIBC_MINOR >= 1
+ #include <netpacket/packet.h>
+ #include <net/ethernet.h>
+@@ -90,8 +93,6 @@
+ #include <linux/if_packet.h>
+ #include <linux/if_ether.h>
+ #endif
+-#include <netdb.h>
+-#include <netinet/ether.h>
+
+ /* Grrr, no consistency between include versions.
+ Enable this if setsockopt() isn't declared with your library. */