$OpenBSD: patch-main_php_h,v 1.4 2007/07/02 08:53:17 robert Exp $ --- main/php.h.orig Mon Jul 2 10:34:20 2007 +++ main/php.h Mon Jul 2 10:34:20 2007 @@ -150,7 +150,7 @@ char *strtok_r(char *s, const char *delim, char **last END_EXTERN_C() #endif -#ifndef HAVE_SOCKLEN_T +#if !defined(HAVE_SOCKLEN_T) && !defined(__OpenBSD__) typedef unsigned int socklen_t; #endif