brintos

brintos / linux-shallow public Read only

0
0
Text · 252 B · cd9989f Raw
12 lines · c
1// SPDX-License-Identifier: GPL-2.02#include <bpf/libbpf.h>3 4#if !defined(LIBBPF_MAJOR_VERSION) || (LIBBPF_MAJOR_VERSION < 1)5#error At least libbpf 1.0 is required for Linux tools.6#endif7 8int main(void)9{10	return bpf_object__open("test") ? 0 : -1;11}12