summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2019-07-23 22:11:50 +1000
committerDarren Tucker <dtucker@dtucker.net>2019-07-23 22:11:50 +1000
commit2ea60312e1c08dea88982fec68244f89a40912ff (patch)
tree75b84f6c6aa2e1a419a6a95367358b43495cd634
parent11cba2a4523fda447e2554ea457484655bedc831 (diff)
downloadopenssh-git-2ea60312e1c08dea88982fec68244f89a40912ff.tar.gz
Include stdlib.h for free() and calloc().
-rw-r--r--auth-options.c1
-rw-r--r--hmac.c2
-rw-r--r--krl.c1
-rw-r--r--mac.c1
4 files changed, 5 insertions, 0 deletions
diff --git a/auth-options.c b/auth-options.c
index 51422188..ca92f7a7 100644
--- a/auth-options.c
+++ b/auth-options.c
@@ -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 1c879640..e90b294f 100644
--- 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 bb960882..f36ba68a 100644
--- 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 9a504e89..eab453a4 100644
--- a/mac.c
+++ b/mac.c
@@ -27,6 +27,7 @@
#include <sys/types.h>
+#include <stdlib.h>
#include <string.h>
#include <stdio.h>