aboutsummaryrefslogtreecommitdiffstats
path: root/features/perf/perf-force-include-of-stdbool.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'features/perf/perf-force-include-of-stdbool.h.patch')
-rw-r--r--features/perf/perf-force-include-of-stdbool.h.patch17
1 files changed, 8 insertions, 9 deletions
diff --git a/features/perf/perf-force-include-of-stdbool.h.patch b/features/perf/perf-force-include-of-stdbool.h.patch
index 1e337632..fd18d748 100644
--- a/features/perf/perf-force-include-of-stdbool.h.patch
+++ b/features/perf/perf-force-include-of-stdbool.h.patch
@@ -1,4 +1,4 @@
-From 8a04f3eaba96d66a189a31a8dde0e6922a825fdb Mon Sep 17 00:00:00 2001
+From 401ba82924e3715098a2db70127fca754f4f3dc4 Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Thu, 19 Aug 2010 11:24:45 -0400
Subject: [PATCH] perf: force include of <stdbool.h>
@@ -13,18 +13,17 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
1 file changed, 2 insertions(+)
diff --git a/tools/perf/perf.h b/tools/perf/perf.h
-index 510c65f72858..650e9a1c68c2 100644
+index 74014033df60..3031e2850000 100644
--- a/tools/perf/perf.h
+++ b/tools/perf/perf.h
-@@ -11,6 +11,8 @@ void test_attr__init(void);
- void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu,
- int fd, int group_fd, unsigned long flags);
-
+@@ -1,5 +1,7 @@
+ /* SPDX-License-Identifier: GPL-2.0 */
+ #ifndef _PERF_PERF_H
+#include <stdbool.h>
+
- #define HAVE_ATTR_TEST
- #include "perf-sys.h"
+ #define _PERF_PERF_H
+ #include <stdbool.h>
--
-1.8.1.2
+2.19.1