diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-12-15 16:06:08 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-12-15 16:06:08 -0500 |
commit | 5c5678691b5e7ced2ff9b4cfa0aa8ea74cb3616d (patch) | |
tree | 57670b93aa663dc9487f140070afd794079725b8 | |
parent | b93b6a19edae7735ea7b9adc8c9d496b28dadd8f (diff) |
Add stdlib.h to trace-cmd.h for use of free()
The free_record inline function uses free, and requires
the stdlib.h header.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | trace-cmd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/trace-cmd.h b/trace-cmd.h index d6e4db0..564c959 100644 --- a/trace-cmd.h +++ b/trace-cmd.h | |||
@@ -1,6 +1,7 @@ | |||
1 | #ifndef _TRACE_CMD_H | 1 | #ifndef _TRACE_CMD_H |
2 | #define _TRACE_CMD_H | 2 | #define _TRACE_CMD_H |
3 | 3 | ||
4 | #include <stdlib.h> | ||
4 | #include "parse-events.h" | 5 | #include "parse-events.h" |
5 | 6 | ||
6 | extern int input_fd; | 7 | extern int input_fd; |