summary refs log tree commit diff stats
path: root/qga/main.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:58 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-04 17:41:30 +0000
commit4459bf3866c380cc1e7cbb8771eee7b503d1163a (patch)
treeb2cd40da250e63f1c833bb89174257fc6270c318 /qga/main.c
parentcbf21151906c935d4276268b59429c58546462ae (diff)
downloadfocaccia-qemu-4459bf3866c380cc1e7cbb8771eee7b503d1163a.tar.gz
focaccia-qemu-4459bf3866c380cc1e7cbb8771eee7b503d1163a.zip
qga: 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>
Message-id: 1454089805-5470-9-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'qga/main.c')
-rw-r--r--qga/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/qga/main.c b/qga/main.c
index f83a97d245..0a168e2da8 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -10,16 +10,13 @@
  * This work is licensed under the terms of the GNU GPL, version 2 or later.
  * See the COPYING file in the top-level directory.
  */
-#include <stdlib.h>
-#include <stdio.h>
-#include <stdbool.h>
+#include "qemu/osdep.h"
 #include <glib.h>
 #include <getopt.h>
 #include <glib/gstdio.h>
 #ifndef _WIN32
 #include <syslog.h>
 #include <sys/wait.h>
-#include <sys/stat.h>
 #endif
 #include "qapi/qmp/json-streamer.h"
 #include "qapi/qmp/json-parser.h"