[openssh-commits] [openssh] 02/02: Include stdlib.h for arc4random_uniform prototype.

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Sep 29 20:40:34 AEST 2021


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

dtucker pushed a commit to branch master
in repository openssh.

commit 207648d7a6415dc915260ca75850404dbf9f0a0b
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Wed Sep 29 20:03:58 2021 +1000

    Include stdlib.h for arc4random_uniform prototype.
---
 openbsd-compat/bindresvport.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/openbsd-compat/bindresvport.c b/openbsd-compat/bindresvport.c
index eeb269d5..346c7fe5 100644
--- a/openbsd-compat/bindresvport.c
+++ b/openbsd-compat/bindresvport.c
@@ -40,6 +40,7 @@
 #include <arpa/inet.h>
 
 #include <errno.h>
+#include <stdlib.h>
 #include <string.h>
 
 #define STARTPORT 600

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


More information about the openssh-commits mailing list