openssl-source.patch 391 B

123456789101112
  1. # enable pthread APIs disabled by our _POSIX_SOURCE definitions
  2. --- openssl-source/crypto/threads_pthread.c.orig
  3. +++ openssl-source/crypto/threads_pthread.c
  4. @@ -6,6 +6,8 @@
  5. * in the file LICENSE in the source distribution or at
  6. * https://www.openssl.org/source/license.html
  7. */
  8. +#undef _POSIX_C_SOURCE
  9. +#undef _POSIX_SOURCE
  10. #include <openssl/crypto.h>
  11. #include "internal/cryptlib.h"