summaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-c.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/c++/clang-c.h')
-rw-r--r--tools/perf/util/c++/clang-c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/c++/clang-c.h b/tools/perf/util/c++/clang-c.h
index 0eadd792ab1f..ccafcf72b37a 100644
--- a/tools/perf/util/c++/clang-c.h
+++ b/tools/perf/util/c++/clang-c.h
@@ -20,6 +20,7 @@ extern int perf_clang__compile_bpf(const char *filename,
size_t *p_obj_buf_sz);
#else
+#include <errno.h>
static inline void perf_clang__init(void) { }
static inline void perf_clang__cleanup(void) { }