[PATCH v1 1/4] perf bench futex: Add missing stdbool.h

Ian Rogers posted 4 patches 3 days, 7 hours ago
[PATCH v1 1/4] perf bench futex: Add missing stdbool.h
Posted by Ian Rogers 3 days, 7 hours ago
futex.h uses bool but lacks stdbool.h which causes build failures in
some build systems. Add the missing #include.

Signed-off-by: Ian Rogers <irogers@google.com>
---
 tools/perf/bench/futex.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/bench/futex.h b/tools/perf/bench/futex.h
index dd295d27044a..fcb72d682cf8 100644
--- a/tools/perf/bench/futex.h
+++ b/tools/perf/bench/futex.h
@@ -8,6 +8,7 @@
 #ifndef _FUTEX_H
 #define _FUTEX_H
 
+#include <stdbool.h>
 #include <unistd.h>
 #include <sys/syscall.h>
 #include <sys/types.h>
-- 
2.51.0.355.g5224444f11-goog