On 16 March 2014 14:33, Brad Smith <b...@comstyle.com> wrote: > On 16/03/14 9:26 AM, Peter Maydell wrote: >> Can we limit the set of system headers we're pulling in to >> avoid the header where OpenBSD is defining this? Generally >> for specific headers that clash it's nicer to just limit those to >> whatever file really needed those defines. I'm assuming it's >> not pulled in by one of the POSIX headers...
> It looks like it is being pulled in via include/qemu/sockets.h > which includes netdb.h. Ouch, and netdb.h results in this macro getting defined? That seems like a bit of a namespace grab by OpenBSD's libc really :-( -- PMM