patch-main_php_h 297 B

123456789101112131415
  1. $OpenBSD: patch-main_php_h,v 1.2 2017/06/12 11:48:34 sthen Exp $
  2. Index: main/php.h
  3. --- main/php.h.orig
  4. +++ main/php.h
  5. @@ -146,7 +146,9 @@ END_EXTERN_C()
  6. # ifdef PHP_WIN32
  7. typedef int socklen_t;
  8. # else
  9. +# if !defined(__OpenBSD__)
  10. typedef unsigned int socklen_t;
  11. +# endif
  12. # endif
  13. #endif