Re: aio.h
Re: aio.h
On Sat, Feb 24, 2007 at 09:30:38AM -0800, Justin C. Walker wrote:
>
> On Feb 23, 2007, at 23:56 , email@hidden wrote:
>
> >While building lighttpd 1.5.0, I kept getting complaints about /usr/
> >include/sys/aio.h
> >After some investigation, I made sure
> >
> > /usr/include/sys/types.h
> >
> >was included before
> >
> > /usr/include/sys/aio.h
> >
> >and the problems went away.
> >
> >
> >Considering aio.h uses the types
> >defined in types.h, shouldn't the latter
> >be included in the former?
>
> You could, as Conrad suggests, file a bug. This subject (whether to
> include the includes that an include file needs in the include file
> itself (:-})) is subject for much debate, and has been, over the
> years. It's one where reasonable men can agree to participate in
> long, pointless, flame-wars.
I know, old email... anyway, just checked SUSv3, which says:
"Inclusion of the <aio.h> header may make visible symbols
defined in the headers <fcntl.h>, <signal.h>, <sys/types.h>,
and <time.h>."
I guess that might be one vote to include <sys/types.h> from
<aio.h>. Except Darwin has <sys/aio.h>, not <aio.h>. Argh.
--
Paul Ripke
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden