kernel-5.16/kernel-5.10.93-fix-perf-build.patch

12 lines
411 B
Diff

diff -rupN linux-5.10.old/tools/perf/ui/libslang.h linux-5.10/tools/perf/ui/libslang.h
--- linux-5.10.old/tools/perf/ui/libslang.h 2020-12-13 23:41:30.000000000 +0100
+++ linux-5.10/tools/perf/ui/libslang.h 2022-01-24 20:53:33.972152889 +0100
@@ -14,7 +14,7 @@
#ifdef HAVE_SLANG_INCLUDE_SUBDIR
#include <slang/slang.h>
#else
-#include <slang.h>
+#include <slang/slang.h>
#endif
#if SLANG_VERSION < 20104