summaryrefslogtreecommitdiffstats
path: root/qemu/scripts/tracetool/backend/simple.py
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/scripts/tracetool/backend/simple.py')
-rw-r--r--qemu/scripts/tracetool/backend/simple.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu/scripts/tracetool/backend/simple.py b/qemu/scripts/tracetool/backend/simple.py
index e8c2cd57e..3246c2001 100644
--- a/qemu/scripts/tracetool/backend/simple.py
+++ b/qemu/scripts/tracetool/backend/simple.py
@@ -42,7 +42,8 @@ def generate_h(event):
def generate_c_begin(events):
- out('#include "trace.h"',
+ out('#include "qemu/osdep.h"',
+ '#include "trace.h"',
'#include "trace/control.h"',
'#include "trace/simple.h"',
'')