aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ahci-test.c4
-rw-r--r--tests/ide-test.c4
-rw-r--r--tests/libqos/ahci.c1
3 files changed, 3 insertions, 6 deletions
diff --git a/tests/ahci-test.c b/tests/ahci-test.c
index 31fb1f9476..6869f7f46d 100644
--- a/tests/ahci-test.c
+++ b/tests/ahci-test.c
@@ -22,9 +22,7 @@
* THE SOFTWARE.
*/
-#include <stdint.h>
-#include <string.h>
-#include <stdio.h>
+#include "qemu/osdep.h"
#include <getopt.h>
#include <glib.h>
diff --git a/tests/ide-test.c b/tests/ide-test.c
index b864701356..0d9ab4df95 100644
--- a/tests/ide-test.c
+++ b/tests/ide-test.c
@@ -22,9 +22,7 @@
* THE SOFTWARE.
*/
-#include <stdint.h>
-#include <string.h>
-#include <stdio.h>
+#include "qemu/osdep.h"
#include <glib.h>
diff --git a/tests/libqos/ahci.c b/tests/libqos/ahci.c
index 6b8c556446..ac6c155c83 100644
--- a/tests/libqos/ahci.c
+++ b/tests/libqos/ahci.c
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include <glib.h>
#include "libqtest.h"