httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] 1.3 NET_SIZE_T is socklen_t on OpenBSD
Date Tue, 10 Sep 2002 15:17:58 GMT
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

-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson

Mime
View raw message