[openssh-commits] [openssh] 02/02: Include stdlib.h for free() prototype.

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Apr 23 21:14:21 AEST 2022


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit dcd8dca29bcdb193ff6be35b96fc55e6e30d37d9
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Sat Apr 23 20:40:28 2022 +1000

    Include stdlib.h for free() prototype.
    
    ... which is used inside the CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG block.
---
 sshlogin.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sshlogin.c b/sshlogin.c
index 82dd8481..06a7b381 100644
--- a/sshlogin.c
+++ b/sshlogin.c
@@ -50,6 +50,7 @@
 #include <fcntl.h>
 #include <stdarg.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <time.h>
 #include <unistd.h>

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list