openbsd-ports/www/php5/patches/patch-main_php_h

13 lines
319 B
Plaintext

$OpenBSD: patch-main_php_h,v 1.1 2004/11/24 17:27:22 robert Exp $
--- main/php.h.orig Thu Nov 18 18:09:47 2004
+++ main/php.h Thu Nov 18 18:29:09 2004
@@ -149,7 +149,7 @@
END_EXTERN_C()
#endif
-#ifndef HAVE_SOCKLEN_T
+#if !defined(HAVE_SOCKLEN_T) && !defined(__OpenBSD__)
typedef unsigned int socklen_t;
#endif