summaryrefslogtreecommitdiff
path: root/tools/sched_ext/include/scx/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sched_ext/include/scx/common.h')
-rw-r--r--tools/sched_ext/include/scx/common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/sched_ext/include/scx/common.h b/tools/sched_ext/include/scx/common.h
index 1dc76bd84296..b3c6372bcf81 100644
--- a/tools/sched_ext/include/scx/common.h
+++ b/tools/sched_ext/include/scx/common.h
@@ -75,8 +75,9 @@ typedef int64_t s64;
#include "enums.h"
/* not available when building kernel tools/sched_ext */
-#if __has_include(<lib/sdt_task.h>)
-#include <lib/sdt_task.h>
+#if __has_include(<lib/sdt_task_defs.h>)
+#include "bpf_arena_common.h"
+#include <lib/sdt_task_defs.h>
#endif
#endif /* __SCHED_EXT_COMMON_H */