aboutsummaryrefslogtreecommitdiff
path: root/net/util.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/util.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/util.c')
-rw-r--r--net/util.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/util.c b/net/util.c
index 7e9507679d..0b3dbfe5d3 100644
--- a/net/util.c
+++ b/net/util.c
@@ -22,9 +22,8 @@
* THE SOFTWARE.
*/
+#include "qemu/osdep.h"
#include "util.h"
-#include <errno.h>
-#include <stdlib.h>
int net_parse_macaddr(uint8_t *macaddr, const char *p)
{