]> git.ipfire.org Git - thirdparty/suricata.git/commit
ebpf: avoid need of 32 bit header
authorEric Leblond <eric@regit.org>
Mon, 28 Dec 2020 08:41:09 +0000 (09:41 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 30 Dec 2020 14:47:15 +0000 (15:47 +0100)
commitdfe5785bfa630905ae52267baeae5453231f9b2d
treec01bc201bd36afd957f3202d4e7b17002da24d8d
parente33bbee9b74f2fdc070e989f4c9d9b6e27483f8d
ebpf: avoid need of 32 bit header

Compilation of xdp_lb.c was failing in some case with the following
error:

/usr/include/x86_64-linux-gnu/gnu/stubs.h:7:11: fatal error: 'gnu/stubs-32.h' file not found

This patch add some define to be able to skip recursive inclusion of
header files leading to the problem.
ebpf/xdp_lb.c