2007-07-02 04:53:17 -04:00
|
|
|
$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
|
2004-11-24 12:27:22 -05:00
|
|
|
END_EXTERN_C()
|
|
|
|
#endif
|
|
|
|
|
|
|
|
-#ifndef HAVE_SOCKLEN_T
|
|
|
|
+#if !defined(HAVE_SOCKLEN_T) && !defined(__OpenBSD__)
|
|
|
|
typedef unsigned int socklen_t;
|
|
|
|
#endif
|
|
|
|
|