summaryrefslogtreecommitdiffstats
path: root/hw/net
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/net
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/net')
-rw-r--r--hw/net/xen_nic.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/hw/net/xen_nic.c b/hw/net/xen_nic.c
index 3ffb07d..7281730 100644
--- a/hw/net/xen_nic.c
+++ b/hw/net/xen_nic.c
@@ -19,18 +19,9 @@
* GNU GPL, version 2 or (at your option) any later version.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <unistd.h>
-#include <inttypes.h>
-#include <fcntl.h>
-#include <errno.h>
+#include "qemu/osdep.h"
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/wait.h>
OpenPOWER on IntegriCloud