[Libevent-users] [PATCH] TAILQ_ENTRY missing in evhttp.h on linux
Marc Lehmann
libev at schmorp.de
Sat Nov 3 20:28:00 EDT 2007
On Sat, Nov 03, 2007 at 05:18:51PM -0700, Christopher Layne <clayne at anodized.com> wrote:
> On Sat, Nov 03, 2007 at 04:56:07PM -0700, Niels Provos wrote:
> > Try
> >
> > #include <sys/queue.h>
> >
> > before including evhttp.h
> >
> > Niels.
>
> Why is this a usercode issue? Shouldn't evhttp.h be more interested in
This is especially troubling as this is a nonportable header file only
available on BSDs in general.
> handling it's dependencies than non-event parent code? It's similar to the
> <sys/time.h> being a usercode, but event.h dependency as well.
The difference is that sys/time.h is at leats part of some standard
(POSIX).
> not make the parent code just handle all includes for event.h and evhttp.h
> - down to stdint.h while we're at it? Because that would be ridiculous -
Yes :)
--
The choice of a Deliantra, the free code+content MORPG
-----==- _GNU_ http://www.deliantra.net
----==-- _ generation
---==---(_)__ __ ____ __ Marc Lehmann
--==---/ / _ \/ // /\ \/ / pcg at goof.com
-=====/_/_//_/\_,_/ /_/\_\
More information about the Libevent-users
mailing list