[openssh-commits] [openssh] 01/01: Include stdlib.h for declaration of free.

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Jul 11 12:14:28 AEST 2018


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

dtucker pushed a commit to branch master
in repository openssh.

commit 1c688801e9dd7f9889fb2a29bc2b6fbfbc35a11f
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Wed Jul 11 12:12:38 2018 +1000

    Include stdlib.h for declaration of free.
    
    Fixes build with -Werror on at least Fedora and probably others.
---
 openbsd-compat/freezero.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/openbsd-compat/freezero.c b/openbsd-compat/freezero.c
index 90b9d381..bad018ff 100644
--- a/openbsd-compat/freezero.c
+++ b/openbsd-compat/freezero.c
@@ -16,6 +16,7 @@
 
 #include "includes.h"
 
+#include <stdlib.h>
 #include <string.h>
 
 #ifndef HAVE_FREEZERO

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


More information about the openssh-commits mailing list