qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] RFC: use of qemu-common.h include


From: Peter Maydell
Subject: Re: [Qemu-devel] RFC: use of qemu-common.h include
Date: Fri, 31 Jul 2015 13:19:11 +0100

On 31 July 2015 at 13:06, Daniel P. Berrange <address@hidden> wrote:
> In fixing the mingw64 problem wrt to localtime_r availability, I relied
> on the fact that qemu-common.h is supposed to be included everywhere,
> to guarantee that we always have unistd.h included before time.h:

It's not really supposed to be included everywhere. It's just a
convenient way for a .c file to get a lot of stuff all at once.
It's a bit of a mess.

> So I'm wondering if there is appetite for cleaning this and and
> introducing standard practice for inclusion of qemu-common.h ?

You might want to have a look at my series which tries to
make osdep.h the "anybody can include this to get the really
key 'breaks if this isn't here' stuff".

http://lists.nongnu.org/archive/html/qemu-devel/2015-07/msg04593.html

thanks
-- PMM



reply via email to

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