mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Fix compilation error when building OpenSSL 1.1.1q in MacOS 11+
"error: implicitly declaring library function 'memcmp'" Downstream backport of https://github.com/openssl/openssl/issues/18720
This commit is contained in:
parent
faceb4b79c
commit
9f5dcbffd4
1 changed files with 12 additions and 0 deletions
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/test/v3ext.c b/test/v3ext.c
|
||||||
|
index 7a240cd706..6cec6f1a9b 100644
|
||||||
|
--- a/test/v3ext.c
|
||||||
|
+++ b/test/v3ext.c
|
||||||
|
@@ -15,6 +15,7 @@
|
||||||
|
#include <openssl/err.h>
|
||||||
|
#include "internal/nelem.h"
|
||||||
|
|
||||||
|
+#include <string.h>
|
||||||
|
#include "testutil.h"
|
||||||
|
|
||||||
|
static const char *infile;
|
Loading…
Reference in a new issue