summaryrefslogtreecommitdiffstats
path: root/qapi/qapi-util.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:49:57 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:31:26 -0600
commit8aa643a08f71f7528b994d7fc6707d1e9fd7644a (patch)
tree60e203cf877bb2b6e4d4beed55830c9879aaf760 /qapi/qapi-util.c
parentcd39e0c7004d125dbd91c39e7dfaf67fe40260c9 (diff)
downloadhqemu-8aa643a08f71f7528b994d7fc6707d1e9fd7644a.zip
hqemu-8aa643a08f71f7528b994d7fc6707d1e9fd7644a.tar.gz
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 bcdc94d..8afb12e 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,
OpenPOWER on IntegriCloud