patch-configure 503 B

123456789101112131415161718
  1. $OpenBSD: patch-configure,v 1.4 2016/09/19 17:02:15 edd Exp $
  2. --- configure.orig Thu Jul 14 09:11:48 2016
  3. +++ configure Sat Sep 3 13:37:40 2016
  4. @@ -14645,11 +14645,12 @@ if ${assuan_cv_sys_so_peercred+:} false; then :
  5. else
  6. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7. /* end confdefs.h. */
  8. +#include <sys/types.h>
  9. #include <sys/socket.h>
  10. int
  11. main ()
  12. {
  13. -struct ucred cr;
  14. +struct sockpeercred cr;
  15. int cl = sizeof cr;
  16. getsockopt (1, SOL_SOCKET, SO_PEERCRED, &cr, &cl);
  17. ;