--- socat-1.7.2.4.orig/sysincludes.h
+++ socat-1.7.2.4/sysincludes.h
@@ -134,7 +134,7 @@
 #include <netpacket/packet.h>
 #endif
 #if HAVE_NETINET_IF_ETHER_H
-#include <netinet/if_ether.h>
+#include <linux/if_ether.h>
 #endif
 #if HAVE_LINUX_IF_TUN_H
 #include <linux/if_tun.h>
