diff mbox series

[1/3] trace-cruncher: Add define for bool type

Message ID 20220503064857.260937-2-tz.stoyanov@gmail.com (mailing list archive)
State Accepted
Headers show
Series trace-cruncher: Small fixes | expand

Commit Message

Tzvetomir Stoyanov (VMware) May 3, 2022, 6:48 a.m. UTC
The logic for resolving function name to address uses bool type, which
is defined in stdbool.h header file. Add explicitly include to this
file.

Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
---
 src/trace-obj-debug.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/src/trace-obj-debug.c b/src/trace-obj-debug.c
index 0e0e293..3ce3b54 100644
--- a/src/trace-obj-debug.c
+++ b/src/trace-obj-debug.c
@@ -11,6 +11,7 @@ 
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <stdbool.h>
 #include <string.h>
 #include <limits.h>
 #include <errno.h>