summaryrefslogtreecommitdiffstats
path: root/include/qemu
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-12-04 17:34:20 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:23 -0600
commit9cbcd35837a3a8aafd231c20c18dbb8992f2bde6 (patch)
tree1bcc6d0feaf4b4e0e00479d7964fd78867f5a6d0 /include/qemu
parent6f09237bc18e82d9f067f6eb199cdd3d2f058957 (diff)
downloadhqemu-9cbcd35837a3a8aafd231c20c18dbb8992f2bde6.zip
hqemu-9cbcd35837a3a8aafd231c20c18dbb8992f2bde6.tar.gz
osdep.h: Include glib-compat.h in osdep.h rather than qemu-common.h
Our use of glib is now pervasive across QEMU. Move the include of glib-compat.h from qemu-common.h to osdep.h so that it is more widely accessible and doesn't get forgotten by accident. (Failure to include it will result in build failure on old versions of glib which is likely to be unnoticed by most developers.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/osdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 84e84ac..59a7f8d 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -69,6 +69,8 @@
#include "sysemu/os-posix.h"
#endif
+#include "glib-compat.h"
+
#include "qapi/error.h"
#if defined(CONFIG_SOLARIS) && CONFIG_SOLARIS_VERSION < 10
OpenPOWER on IntegriCloud