summaryrefslogtreecommitdiffstats
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
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:30:21 -0600
commitec3c0717f9dedfb5ae9e634bbd8e4d34050b75ac (patch)
tree112fa2bd533eba1ca23fd7314ebd9f55f4a0aaad /hw/char/xen_console.c
parentf3fd7edbb7be976dd2b035f94e54c3173ca248a9 (diff)
downloadhqemu-ec3c0717f9dedfb5ae9e634bbd8e4d34050b75ac.zip
hqemu-ec3c0717f9dedfb5ae9e634bbd8e4d34050b75ac.tar.gz
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 b92d0c6..cbf1dcc 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"
OpenPOWER on IntegriCloud