openbsd-ports/www/php5/patches/patch-main_php_h
robert 48abbd4bee - add a fastcgi subpackage to core because now we are able to build
more than one php binaries within one workdir (idea from FreeBSD)
- move pdo_sqlite support from core to extensions and also add a pdo_mysql
and a pdo_sqlite subpackage
- regen patches while here
- bump PKGNAMEs
2007-04-01 21:37:27 +00:00

13 lines
374 B
Plaintext

$OpenBSD: patch-main_php_h,v 1.2 2007/04/01 21:37:27 robert Exp $
--- main/php.h.orig Sun Apr 1 13:42:41 2007
+++ main/php.h Sun Apr 1 13:42:42 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