void-packages/srcpkgs/openvswitch/patches/musl-if_packet.patch

15 lines
415 B
Diff

--- lib/netdev-linux.c 2015-08-20 00:33:42.960971996 +0000
+++ lib/netdev-linux.c 2015-08-22 18:16:10.741115156 +0000
@@ -37,10 +37,9 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/utsname.h>
-#include <netpacket/packet.h>
#include <net/if.h>
#include <net/if_arp.h>
-#include <net/if_packet.h>
+#include <linux/if_packet.h>
#include <net/route.h>
#include <netinet/in.h>
#include <poll.h>