aboutsummaryrefslogtreecommitdiff
path: root/hw/char/xen_console.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-26 18:17:06 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-01-29 15:07:23 +0000
commit21cbfe5f37aaa3a13d3af28454e762c05be67429 (patch)
treed852e9ad387355a65b500681d8ba6400b426006e /hw/char/xen_console.c
parent8ef94f0bc9167f246b41cb1188bf80dcd84b49fe (diff)
xen: 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: 1453832250-766-14-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/char/xen_console.c')
-rw-r--r--hw/char/xen_console.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/char/xen_console.c b/hw/char/xen_console.c
index b92d0c6dd2..cbf1dccbb1 100644
--- a/hw/char/xen_console.c
+++ b/hw/char/xen_console.c
@@ -19,14 +19,9 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdlib.h>
-#include <errno.h>
-#include <string.h>
+#include "qemu/osdep.h"
#include <sys/select.h>
-#include <fcntl.h>
-#include <unistd.h>
#include <termios.h>
-#include <stdarg.h>
#include <sys/mman.h>
#include "hw/hw.h"