2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-29 13:28:10 +00:00

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>