Re: [PATCH v2 12/15] qemu-common: move glib-compat.h

2022-07-12 Thread Warner Losh
On Tue, Jul 12, 2022 at 3:37 AM wrote: > From: Marc-André Lureau > > qemu-common will have compatible dependency requirements with QEMU. > > Since qemu-common won't have a toplevel qemu/osdep.h which would include > various system headers, include stdbool.h (bool is used for some > declarations

[PATCH v2 12/15] qemu-common: move glib-compat.h

2022-07-12 Thread marcandre . lureau
From: Marc-André Lureau qemu-common will have compatible dependency requirements with QEMU. Since qemu-common won't have a toplevel qemu/osdep.h which would include various system headers, include stdbool.h (bool is used for some declarations here). Replace getenv() with g_getenv() to avoid