Re: _GPollFD conflicts on AIX



> > So, if a .c file #includes <sys/poll.h> directly or indirectly and
> > <glib/gmain.h>, the events/revents members get renamed. How should we
> > solve this?
> 
> It should be OK unless you include <sys/poll.h> after <glib/gmain.h>;
> this is one of several reasons you should include system headers
> first in a .c file.

Do we have general advice regarding include file order in the api docs
somewhere, or should we
add a specific note for this problem in the gmain docs ?

Matthias

-- 
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++




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