Re: [PATCH] include/qemu/osdep.h: Move system includes to top

2021-04-15 Thread Daniel P . Berrangé
On Wed, Apr 14, 2021 at 07:43:43PM +0100, Peter Maydell wrote: > Mostly osdep.h puts the system includes at the top of the file; but > there are a couple of exceptions where we include a system header > halfway through the file. Move these up to the top with the rest > so that all the system heade

Re: [PATCH] include/qemu/osdep.h: Move system includes to top

2021-04-15 Thread Philippe Mathieu-Daudé
On 4/14/21 8:43 PM, Peter Maydell wrote: > Mostly osdep.h puts the system includes at the top of the file; but > there are a couple of exceptions where we include a system header > halfway through the file. Move these up to the top with the rest > so that all the system headers we include are incl

[PATCH] include/qemu/osdep.h: Move system includes to top

2021-04-14 Thread Peter Maydell
Mostly osdep.h puts the system includes at the top of the file; but there are a couple of exceptions where we include a system header halfway through the file. Move these up to the top with the rest so that all the system headers we include are included before we include os-win32.h or os-posix.h.