From 90ce6e2644db2c47d72f364b4de57342e50bd10a Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 23 Feb 2016 11:58:03 +0000 Subject: include: 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. NB: If this commit breaks compilation for your out-of-tree patchseries or fork, then you need to make sure you add #include "qemu/osdep.h" to any new .c files that you have. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake --- include/qemu/sockets.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/qemu/sockets.h') diff --git a/include/qemu/sockets.h b/include/qemu/sockets.h index cde2f5e0d6..0be68de87d 100644 --- a/include/qemu/sockets.h +++ b/include/qemu/sockets.h @@ -13,7 +13,6 @@ int inet_aton(const char *cp, struct in_addr *ia); #else -#include #include #include #include @@ -26,7 +25,6 @@ int inet_aton(const char *cp, struct in_addr *ia); #endif /* !_WIN32 */ -#include "qapi/error.h" #include "qapi-types.h" /* misc helpers */ -- cgit 1.4.1