aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracetool/format/c.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tracetool/format/c.py')
-rw-r--r--scripts/tracetool/format/c.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/tracetool/format/c.py b/scripts/tracetool/format/c.py
index 833c05a022..31207961b0 100644
--- a/scripts/tracetool/format/c.py
+++ b/scripts/tracetool/format/c.py
@@ -28,6 +28,7 @@ def generate(events, backend, group):
out('/* This file is autogenerated by tracetool, do not edit. */',
'',
'#include "qemu/osdep.h"',
+ '#include "qemu/module.h"',
'#include "%s"' % header,
'')