summaryrefslogtreecommitdiff
path: root/samples/bpf/sock_example.h
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/sock_example.h')
-rw-r--r--samples/bpf/sock_example.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/bpf/sock_example.h b/samples/bpf/sock_example.h
index 09f7fe7e5fd7..d8014065d479 100644
--- a/samples/bpf/sock_example.h
+++ b/samples/bpf/sock_example.h
@@ -4,7 +4,7 @@
#include <unistd.h>
#include <string.h>
#include <errno.h>
-#include <net/ethernet.h>
+#include <linux/if_ether.h>
#include <net/if.h>
#include <linux/if_packet.h>
#include <arpa/inet.h>