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 [EMAIL PROTECTED] - [EMAIL PROTECTED] Unix is very simple, but it takes a genius to understand the simplicity. (Dennis Ritchie)
