From: Daan De Meyer Date: Fri, 23 May 2025 11:36:55 +0000 (+0200) Subject: core: Add missing bpf-dlopen.h includes to bpf skeleton headers X-Git-Tag: v258-rc1~499^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4f3a3ad06266ed7a089c6c4783c495826e55521;p=thirdparty%2Fsystemd.git core: Add missing bpf-dlopen.h includes to bpf skeleton headers --- diff --git a/src/core/bpf/restrict_fs/restrict-fs-skel.h b/src/core/bpf/restrict_fs/restrict-fs-skel.h index 412cf62eda8..825b8131f94 100644 --- a/src/core/bpf/restrict_fs/restrict-fs-skel.h +++ b/src/core/bpf/restrict_fs/restrict-fs-skel.h @@ -6,6 +6,8 @@ * fine given that LGPL-2.1-or-later downgrades to GPL if needed. */ +#include "bpf-dlopen.h" + /* libbpf is used via dlopen(), so rename symbols */ #define bpf_object__open_skeleton sym_bpf_object__open_skeleton #define bpf_object__load_skeleton sym_bpf_object__load_skeleton diff --git a/src/core/bpf/restrict_ifaces/restrict-ifaces-skel.h b/src/core/bpf/restrict_ifaces/restrict-ifaces-skel.h index f9374909548..f0675f270ba 100644 --- a/src/core/bpf/restrict_ifaces/restrict-ifaces-skel.h +++ b/src/core/bpf/restrict_ifaces/restrict-ifaces-skel.h @@ -6,6 +6,8 @@ * fine given that LGPL-2.1-or-later downgrades to GPL if needed. */ +#include "bpf-dlopen.h" + /* libbpf is used via dlopen(), so rename symbols */ #define bpf_object__open_skeleton sym_bpf_object__open_skeleton #define bpf_object__load_skeleton sym_bpf_object__load_skeleton diff --git a/src/core/bpf/socket_bind/socket-bind-skel.h b/src/core/bpf/socket_bind/socket-bind-skel.h index e0d16269cdc..c92eae002da 100644 --- a/src/core/bpf/socket_bind/socket-bind-skel.h +++ b/src/core/bpf/socket_bind/socket-bind-skel.h @@ -6,6 +6,8 @@ * fine given that LGPL-2.1-or-later downgrades to GPL if needed. */ +#include "bpf-dlopen.h" + /* libbpf is used via dlopen(), so rename symbols */ #define bpf_object__open_skeleton sym_bpf_object__open_skeleton #define bpf_object__load_skeleton sym_bpf_object__load_skeleton