tech-userlevel archive

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

Re: Namespace pollution in strings.h



On Sat, Apr 27, 2013 at 09:11:11PM +0200, Martin Husemann wrote:
> They seem to only set it for SunOS - but I guess we can make them change
> it for NetBSD as well.

Unfortunately making qemu use _XOPEN_SOURCE breaks it big time all over the
place, like this:

qga/channel-posix.c: In function 'ga_channel_open':
qga/channel-posix.c:139:30: error: 'O_ASYNC' undeclared (first use in this 
function)
qga/channel-posix.c:139:30: note: each undeclared identifier is reported only 
once for each function it appears in
qga/channel-posix.c:173:65: error: 'IXANY' undeclared (first use in this 
function)
qga/channel-posix.c:174:26: error: 'IMAXBEL' undeclared (first use in this 
function)


Martin


Home | Main Index | Thread Index | Old Index