aboutsummaryrefslogtreecommitdiff
path: root/qapi/qapi-util.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:57 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-04 17:41:30 +0000
commitcbf21151906c935d4276268b59429c58546462ae (patch)
tree3ca2ea481659cd14c451370aee2165658137903d /qapi/qapi-util.c
parent48d4ab25e7d81328f65a942bf4643c4eb1399ddf (diff)
qapi: 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> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1454089805-5470-8-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'qapi/qapi-util.c')
-rw-r--r--qapi/qapi-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/qapi-util.c b/qapi/qapi-util.c
index bcdc94d5a9..8afb12eb43 100644
--- a/qapi/qapi-util.c
+++ b/qapi/qapi-util.c
@@ -10,8 +10,8 @@
*
*/
+#include "qemu/osdep.h"
#include "qemu-common.h"
-#include "qapi/error.h"
#include "qapi/util.h"
int qapi_enum_parse(const char * const lookup[], const char *buf,