httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning Brauer <hb-apache-...@bsws.de>
Subject Re: [PATCH] 1.3 NET_SIZE_T is socklen_t on OpenBSD
Date Tue, 10 Sep 2002 16:13:53 GMT
On Tue, Sep 10, 2002 at 11:17:58AM -0400, Jim Jagielski wrote:
> Henning Brauer wrote:
> > anyway, this works on -current and should do well on older releases as well.
> > patch is hand-crufted, might not apply cleanly.
> > 
> > --- ap_config.h.orig	Tue Sep 10 17:05:11 2002
> > +++ ap_config.h	Tue Sep 10 17:06:41 2002
> > @@ -692,6 +692,10 @@
> >  #if defined __OpenBSD__
> >  #define HAVE_SYSVSEM_SERIALIZED_ACCEPT
> >  #define USE_SYSVSEM_SERIALIZED_ACCEPT
> > +#include <sys/param.h>
> > +#if (OpenBSD >= 199912)
> > +#define NET_SIZE_T socklen_t
> > +#endif
> >  #endif
> >  #define HAVE_FLOCK_SERIALIZED_ACCEPT
> >  #define SINGLE_LISTEN_UNSERIALIZED_ACCEPT
> can we assume that if __OpenBSD__ is defined, then OpenBSD will be as well
> in all cases? If so, then I'm +1

unless you count some never released revisions of param.h which predate
OpenBSD 2.0 (which was our first release): yes.

-- 
Henning Brauer, BS Web Services, http://bsws.de
hb@bsws.de - henning@openbsd.org
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

Mime
View raw message