summaryrefslogtreecommitdiffstats
path: root/tests/qemu-iotests
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-08 18:08:51 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:45:28 -0600
commitc824f57faeea96a8e5ee73f66d287b4289724cde (patch)
treec44115b96ca6876db0d16a76a86bb3a57cccafaf /tests/qemu-iotests
parent3504aac29a8e665012783db6a718aee8c63436cc (diff)
downloadhqemu-c824f57faeea96a8e5ee73f66d287b4289724cde.zip
hqemu-c824f57faeea96a8e5ee73f66d287b4289724cde.tar.gz
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/qemu-iotests')
-rw-r--r--tests/qemu-iotests/socket_scm_helper.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/qemu-iotests/socket_scm_helper.c b/tests/qemu-iotests/socket_scm_helper.c
index 8195983..80cadf4 100644
--- a/tests/qemu-iotests/socket_scm_helper.c
+++ b/tests/qemu-iotests/socket_scm_helper.c
@@ -10,15 +10,9 @@
* See the COPYING.LIB file in the top-level directory.
*/
-#include <stdio.h>
-#include <errno.h>
+#include "qemu/osdep.h"
#include <sys/socket.h>
#include <sys/un.h>
-#include <stdlib.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
/* #define SOCKET_SCM_DEBUG */
OpenPOWER on IntegriCloud