summaryrefslogtreecommitdiff
path: root/tools/sched_ext/include/scx/user_exit_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sched_ext/include/scx/user_exit_info.h')
-rw-r--r--tools/sched_ext/include/scx/user_exit_info.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/sched_ext/include/scx/user_exit_info.h b/tools/sched_ext/include/scx/user_exit_info.h
index 891693ee604e..8ce2734402e1 100644
--- a/tools/sched_ext/include/scx/user_exit_info.h
+++ b/tools/sched_ext/include/scx/user_exit_info.h
@@ -25,7 +25,11 @@ struct user_exit_info {
#ifdef __bpf__
+#ifdef LSP
+#include "../vmlinux/vmlinux.h"
+#else
#include "vmlinux.h"
+#endif
#include <bpf/bpf_core_read.h>
#define UEI_DEFINE(__name) \