diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-08 18:08:51 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-16 14:29:27 +0000 |
commit | 681c28a33e305923a717815808056d2d5a89c8f9 (patch) | |
tree | 1917eef57033f4efb2638a584b2914112219ad41 /tests/libqtest.c | |
parent | 07b096b41873bd64d01c7d59e43066793ef0e95c (diff) |
tests: Clean up includes
Clean up includes so that osdep.h is included first and headers
which it implies are not included manually.
This commit was created with scripts/clean-includes.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Tested-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests/libqtest.c')
-rw-r--r-- | tests/libqtest.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/tests/libqtest.c b/tests/libqtest.c index fa314e1ee7..b12a9e4ca9 100644 --- a/tests/libqtest.c +++ b/tests/libqtest.c @@ -14,22 +14,14 @@ * See the COPYING file in the top-level directory. * */ +#include "qemu/osdep.h" #include "libqtest.h" #include <glib.h> -#include <sys/types.h> #include <sys/socket.h> #include <sys/wait.h> #include <sys/un.h> -#include <inttypes.h> -#include <errno.h> -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include <string.h> - -#include "qemu/compiler.h" -#include "qemu/osdep.h" + #include "qapi/qmp/json-parser.h" #include "qapi/qmp/json-streamer.h" #include "qapi/qmp/qjson.h" |