diff options
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | 2020-01-20 11:09:27 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-01-20 21:17:11 +1100 |
commit | 335dc93526942a650f6c69666b3f6ca44d0a2910 (patch) | |
tree | 3c4d959245723ec9270c4945ea8e036d7e4f15f0 | |
parent | 0488dc2d3050ea1a99ef5cf44afc50ffbf3f1315 (diff) |
Fix a few warnings when on Mac OS X.
Include stdlib.h for calloc, malloc, free and setenv.
-rw-r--r-- | auth-pam.c | 1 |
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 @@ | |||
56 | #include <errno.h> | 56 | #include <errno.h> |
57 | #include <signal.h> | 57 | #include <signal.h> |
58 | #include <stdarg.h> | 58 | #include <stdarg.h> |
59 | #include <stdlib.h> | ||
59 | #include <string.h> | 60 | #include <string.h> |
60 | #include <unistd.h> | 61 | #include <unistd.h> |
61 | 62 | ||