Obsolete golang-120
[oi-userland.git] / components / library / hyperscan / patches / ethernet_h.patch
blob2aa1a8996a4650ac9185c82de63f49bc44c5e179
1 --- hyperscan-5.4.1/examples/pcapscan.cc 2023-02-26 17:13:53.853385829 +0100
2 +++ hyperscan-5.4.1/examples/pcapscan.cc.new 2023-02-26 17:57:39.048349531 +0100
3 @@ -68,7 +68,8 @@
4 #include <netinet/tcp.h>
5 #include <netinet/udp.h>
6 #include <netinet/ip_icmp.h>
7 -#include <net/ethernet.h>
8 +#include <libnet.h>
9 +#include <sys/ethernet.h>
10 #include <arpa/inet.h>
12 #include <pcap.h>
13 --- hyperscan-5.4.1/examples/patbench.cc 2022-09-13 14:57:08.000000000 +0200
14 +++ hyperscan-5.4.1/examples/patbench.cc.new 2023-02-26 18:25:39.051761823 +0100
15 @@ -134,7 +134,8 @@
16 #include <netinet/tcp.h>
17 #include <netinet/udp.h>
18 #include <netinet/ip_icmp.h>
19 -#include <net/ethernet.h>
20 +#include <libnet.h>
21 +#include <sys/ethernet.h>
22 #include <arpa/inet.h>
24 #include <pcap.h>