ports/lang/php/8.1/patches/patch-main_php_h

14 lines
232 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: main/php.h
--- main/php.h.orig
+++ main/php.h
@@ -189,7 +189,9 @@ END_EXTERN_C()
# ifdef PHP_WIN32
typedef int socklen_t;
# else
+# if !defined(__OpenBSD__)
typedef unsigned int socklen_t;
+# endif
# endif
#endif