$OpenBSD: patch-main_php_h,v 1.3 2011/06/18 19:49:50 sthen Exp $
--- main/php.h.orig.port Sat Jun 18 12:14:46 2011
+++ main/php.h Sat Jun 18 12:14:52 2011
@@ -146,7 +146,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;