$OpenBSD: patch-main_php_h,v 1.1 2004/11/24 19:03:15 robert Exp $
--- main/php.h.orig	Wed Nov 24 18:38:07 2004
+++ main/php.h	Wed Nov 24 18:38:38 2004
@@ -143,7 +143,7 @@
 char *strtok_r(char *s, const char *delim, char **last);
 #endif
 
-#ifndef HAVE_SOCKLEN_T
+#if !defined(HAVE_SOCKLEN_T) && !defined(__OpenBSD__)
 typedef unsigned int socklen_t;
 #endif
 
