aboutsummaryrefslogtreecommitdiff
path: root/tests/libqtest-single.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libqtest-single.h')
-rw-r--r--tests/libqtest-single.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libqtest-single.h b/tests/libqtest-single.h
index 49259558a5..6f1bb1331c 100644
--- a/tests/libqtest-single.h
+++ b/tests/libqtest-single.h
@@ -11,6 +11,10 @@
#ifndef LIBQTEST_SINGLE_H
#define LIBQTEST_SINGLE_H
+#include "libqtest.h"
+
+QTestState *global_qtest __attribute__((common, weak));
+
/**
* qtest_start:
* @args: other arguments to pass to QEMU