42b89bb2c5
setups (mod_php and FPM are unaffected). OK robert@.
13 lines
378 B
Plaintext
13 lines
378 B
Plaintext
$OpenBSD: patch-main_php_h,v 1.4 2012/05/08 21:29:16 sthen Exp $
|
|
--- main/php.h.orig.port Fri May 4 01:28:40 2012
|
|
+++ main/php.h Fri May 4 01:28:41 2012
|
|
@@ -141,7 +141,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
|
|
|