$NetBSD: patch-pyconfig.h.in,v 1.5 2015/05/24 07:44:07 adam Exp $ Fix build with LibreSSL. --- pyconfig.h.in.orig 2015-05-23 16:09:25.000000000 +0000 +++ pyconfig.h.in @@ -1206,7 +1209,9 @@ #undef _UINT64_T /* Define to the level of X/Open that your system supports */ +#if !defined(__sun) || (defined(__sun) && !defined(_XOPEN_SOURCE)) #undef _XOPEN_SOURCE +#endif /* Define to activate Unix95-and-earlier features */ #undef _XOPEN_SOURCE_EXTENDED