mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
22 lines
668 B
Diff
22 lines
668 B
Diff
From: Kurt Kanzenbach <kurt@kmk-computers.de>
|
|
Subject: pubsub: Disable XDP code
|
|
|
|
The XDP code assumes < dev-libs/libbpf-0.0.7. Disable it.
|
|
|
|
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
|
|
---
|
|
plugins/ua_pubsub_ethernet.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/plugins/ua_pubsub_ethernet.c
|
|
+++ b/plugins/ua_pubsub_ethernet.c
|
|
@@ -43,7 +43,7 @@ static UA_THREAD_LOCAL UA_Byte ReceiveMs
|
|
#include <linux/if_link.h>
|
|
|
|
#if defined __has_include
|
|
-# if __has_include(<bpf/bpf.h>) && __has_include(<bpf/libbpf.h>) && __has_include(<bpf/xsk.h>)
|
|
+# if 0
|
|
# define LIBBPF_EBPF
|
|
/* Libbpf headers */
|
|
# include <bpf/bpf.h>
|