summaryrefslogtreecommitdiffstats
path: root/auth-pam.c
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2020-01-20 11:09:27 +0100
committerDarren Tucker <dtucker@dtucker.net>2020-01-20 11:17:11 +0100
commit335dc93526942a650f6c69666b3f6ca44d0a2910 (patch)
tree3c4d959245723ec9270c4945ea8e036d7e4f15f0 /auth-pam.c
parentFix building without openssl. (diff)
downloadopenssh-335dc93526942a650f6c69666b3f6ca44d0a2910.tar.xz
openssh-335dc93526942a650f6c69666b3f6ca44d0a2910.zip
Fix a few warnings when on Mac OS X.
Include stdlib.h for calloc, malloc, free and setenv.
Diffstat (limited to '')
-rw-r--r--auth-pam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/auth-pam.c b/auth-pam.c
index d3f400bc3..ee9d2c7e9 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -56,6 +56,7 @@
#include <errno.h>
#include <signal.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>