summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/test_cpp.cpp
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2024-10-14 10:45:28 -0700
committerNamhyung Kim <namhyung@kernel.org>2024-10-14 10:45:28 -0700
commit77b679453d3364688ff3e5153c0be5b2b52672b7 (patch)
tree2279ec3271529a6a4dcec324930a1f46238ffd66 /tools/testing/selftests/bpf/test_cpp.cpp
parent1a3d6a9723d4dbdad41dad67b66a64d4a84c5f5c (diff)
parent8e929cb546ee42c9a61d24fae60605e9e3192354 (diff)
Merge tag 'v6.12-rc3' into perf-tools-next
To get the fixes in the current perf-tools tree. Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_cpp.cpp')
-rw-r--r--tools/testing/selftests/bpf/test_cpp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/test_cpp.cpp b/tools/testing/selftests/bpf/test_cpp.cpp
index dde0bb16e782..abc2a56ab261 100644
--- a/tools/testing/selftests/bpf/test_cpp.cpp
+++ b/tools/testing/selftests/bpf/test_cpp.cpp
@@ -6,6 +6,10 @@
#include <bpf/libbpf.h>
#include <bpf/bpf.h>
#include <bpf/btf.h>
+
+#ifndef _Bool
+#define _Bool bool
+#endif
#include "test_core_extern.skel.h"
#include "struct_ops_module.skel.h"