qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v2 38/43] osdep: disable glib-compat.h include with


From: Alex Bennée
Subject: [Qemu-devel] [PATCH v2 38/43] osdep: disable glib-compat.h include with QEMU_NO_GLIB
Date: Thu, 19 Apr 2018 14:58:56 +0100

From: "Emilio G. Cota" <address@hidden>

To ease the cross-compilation of tests that do not use glib.

Signed-off-by: Emilio G. Cota <address@hidden>
---
 include/qemu/osdep.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/qemu/osdep.h b/include/qemu/osdep.h
index 41658060a7..fabaf73007 100644
--- a/include/qemu/osdep.h
+++ b/include/qemu/osdep.h
@@ -104,7 +104,9 @@ extern int daemon(int, int);
 #include "sysemu/os-posix.h"
 #endif
 
+#ifndef QEMU_NO_GLIB
 #include "glib-compat.h"
+#endif
 #include "qemu/typedefs.h"
 
 /*
-- 
2.17.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]