X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=tools%2Fbuild%2Ffeature%2Ftest-libbpf.c;fp=tools%2Fbuild%2Ffeature%2Ftest-libbpf.c;h=a508756cf4cca2b3a781a43787d27ca092c410c3;hp=0000000000000000000000000000000000000000;hb=7b65e2034fde011d090d4ec472902b71129c6cbd;hpb=a5732681e0e6ea0c3024f9d23bcf99b9237189ee diff --git a/tools/build/feature/test-libbpf.c b/tools/build/feature/test-libbpf.c new file mode 100644 index 000000000000..a508756cf4cc --- /dev/null +++ b/tools/build/feature/test-libbpf.c @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 +#include + +int main(void) +{ + return bpf_object__open("test") ? 0 : -1; +}