Re: [PULL v2 1/3] osdep: include glib-compat.h before other QEMU headers

2021-04-14 Thread Daniel P . Berrangé
On Tue, Apr 13, 2021 at 06:08:48PM +0200, Paolo Bonzini wrote: > glib-compat.h is sort of like a system header, and it needs to include > system headers (glib.h) that may dislike being included under > 'extern "C"'. Move it right after all system headers and before > all other QEMU headers. > > S

Re: [PULL v2 1/3] osdep: include glib-compat.h before other QEMU headers

2021-04-14 Thread Philippe Mathieu-Daudé
On 4/13/21 6:08 PM, Paolo Bonzini wrote: > glib-compat.h is sort of like a system header, and it needs to include > system headers (glib.h) that may dislike being included under > 'extern "C"'. Move it right after all system headers and before > all other QEMU headers. > > Signed-off-by: Paolo Bo

[PULL v2 1/3] osdep: include glib-compat.h before other QEMU headers

2021-04-13 Thread Paolo Bonzini
glib-compat.h is sort of like a system header, and it needs to include system headers (glib.h) that may dislike being included under 'extern "C"'. Move it right after all system headers and before all other QEMU headers. Signed-off-by: Paolo Bonzini --- include/qemu/osdep.h | 3 ++- 1 file chan