mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
Make sure to always include string.h so memset gets declared.
memset() is used by CRYPTO_secure_zalloc(), which isn't hidden away behind IMPLEMENTED. Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
5abb2fc964
commit
183733f882
@ -13,10 +13,11 @@
|
||||
#include <openssl/crypto.h>
|
||||
#include <e_os.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#if defined(OPENSSL_SYS_LINUX) || defined(OPENSSL_SYS_UNIX)
|
||||
# define IMPLEMENTED
|
||||
# include <stdlib.h>
|
||||
# include <string.h>
|
||||
# include <assert.h>
|
||||
# include <unistd.h>
|
||||
# include <sys/types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user