site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Mail-followup-to: "darwin-dev@lists.apple.com list" <darwin-dev@lists.apple.com> User-agent: Mutt/1.4.2.1i On Sat, Feb 24, 2007 at 09:30:38AM -0800, Justin C. Walker wrote:
On Feb 23, 2007, at 23:56 , lingwitt@gmail.com 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Paul Ripke