aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2017-06-27 22:26:44 +0200
committerRafael J. Wysocki <[email protected]>2017-06-27 22:26:44 +0200
commita976c2951d8f376112361830aa7762beff83a205 (patch)
tree24f6647aedd4b570cb67f3195962f5c8a040c824 /tools/perf/util/scripting-engines/trace-event-perl.c
parent83848fbe7e6af978c080a88c130a67178b1ac0e4 (diff)
parent16b9951f656ea8f2b47546bd898325a7e256932f (diff)
Merge back ACPICA material for v4.13.
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
-rw-r--r--tools/perf/util/scripting-engines/trace-event-perl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-perl.c b/tools/perf/util/scripting-engines/trace-event-perl.c
index dff043a29589..7b79c413486b 100644
--- a/tools/perf/util/scripting-engines/trace-event-perl.c
+++ b/tools/perf/util/scripting-engines/trace-event-perl.c
@@ -19,6 +19,7 @@
*
*/
+#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -27,7 +28,9 @@
#include <linux/bitmap.h>
#include <linux/time64.h>
-#include "../util.h"
+#include <stdbool.h>
+/* perl needs the following define, right after including stdbool.h */
+#define HAS_BOOL
#include <EXTERN.h>
#include <perl.h>