aboutsummaryrefslogtreecommitdiff
path: root/net/netmap.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:50:00 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-04 17:41:30 +0000
commit2744d9207f397a3cb8d31654cac63e0ca0299d68 (patch)
tree3002e9ddd16572dcd6d22e78914805ef352a93e4 /net/netmap.c
parent7df7482bf6a6c2c69013cdbde58b57ca8716db17 (diff)
net: 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-11-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'net/netmap.c')
-rw-r--r--net/netmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netmap.c b/net/netmap.c
index 27295ab2e2..971032120c 100644
--- a/net/netmap.c
+++ b/net/netmap.c
@@ -23,11 +23,10 @@
*/
+#include "qemu/osdep.h"
#include <sys/ioctl.h>
#include <net/if.h>
#include <sys/mman.h>
-#include <stdint.h>
-#include <stdio.h>
#define NETMAP_WITH_LIBS
#include <net/netmap.h>
#include <net/netmap_user.h>