diff options
Diffstat (limited to 'tools/perf/ui/browsers/scripts.c')
-rw-r--r-- | tools/perf/ui/browsers/scripts.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/ui/browsers/scripts.c b/tools/perf/ui/browsers/scripts.c index 50e0c03171f2..586a21acc13d 100644 --- a/tools/perf/ui/browsers/scripts.c +++ b/tools/perf/ui/browsers/scripts.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include "../../builtin.h" -#include "../../util/sort.h" +#include "../../perf.h" #include "../../util/util.h" #include "../../util/hist.h" #include "../../util/debug.h" @@ -8,7 +8,9 @@ #include "../browser.h" #include "../libslang.h" #include "config.h" +#include <linux/string.h> #include <linux/zalloc.h> +#include <stdlib.h> #define SCRIPT_NAMELEN 128 #define SCRIPT_MAX_NO 64 |