Include stdlib.h for malloc(3) prototype.

We shouldn't rely on it to be implicitly included via OpenSSL headers.
This commit is contained in:
Todd C. Miller
2020-03-17 17:24:46 -06:00
parent 390ace9253
commit d75d36b68c

View File

@@ -24,6 +24,7 @@
#if defined(HAVE_OPENSSL)
# include <sys/socket.h>
# include <arpa/inet.h>
# include <stdlib.h>
# include <string.h>
# include <netdb.h>