]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Include stdlib.h for free() and calloc().
authorDarren Tucker <dtucker@dtucker.net>
Tue, 23 Jul 2019 12:11:50 +0000 (22:11 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 23 Jul 2019 12:11:50 +0000 (22:11 +1000)
auth-options.c
hmac.c
krl.c
mac.c

index 51422188296b5e45ab5b85394d0b004ba987cdb9..ca92f7a7314e85be055c1b02a26d34bc0856fff7 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <netdb.h>
 #include <pwd.h>
+#include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
 #include <stdarg.h>
diff --git a/hmac.c b/hmac.c
index 1c879640cb3c583fc096f9b8bdd4e54865c44ccf..e90b294fbadd8ba372c57f241bbdb07b4f8a53ef 100644 (file)
--- a/hmac.c
+++ b/hmac.c
@@ -18,6 +18,8 @@
 #include "includes.h"
 
 #include <sys/types.h>
+
+#include <stdlib.h>
 #include <string.h>
 
 #include "sshbuf.h"
diff --git a/krl.c b/krl.c
index bb960882fd28084d23d16995426c88ca1a177b48..f36ba68ac297e0fcb8ebdbe5555c382dd0518e2e 100644 (file)
--- a/krl.c
+++ b/krl.c
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <stdlib.h>
 #include <string.h>
 #include <time.h>
 #include <unistd.h>
diff --git a/mac.c b/mac.c
index 9a504e8927118c43bef13df0e497c624f49859af..eab453a419f9e0d6ec5e0fa1e4327f0f6130bc04 100644 (file)
--- a/mac.c
+++ b/mac.c
@@ -27,6 +27,7 @@
 
 #include <sys/types.h>
 
+#include <stdlib.h>
 #include <string.h>
 #include <stdio.h>