[openssh-commits] [openssh] 01/01: Include stdio.h for FILE in misc.h.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue Dec 22 18:57:38 AEDT 2020


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

dtucker pushed a commit to branch master
in repository openssh.

commit 0f2e21c9dca89598b694932b5b05848380a23ec0
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Tue Dec 22 18:56:54 2020 +1100

    Include stdio.h for FILE in misc.h.
    
    Fixes build on at least OpenBSD.
---
 openbsd-compat/port-net.c | 1 +
 sshpty.c                  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/openbsd-compat/port-net.c b/openbsd-compat/port-net.c
index d7d8c6fa..da6d4467 100644
--- a/openbsd-compat/port-net.c
+++ b/openbsd-compat/port-net.c
@@ -26,6 +26,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stdarg.h>
+#include <stdio.h>
 #include <string.h>
 #include <unistd.h>
 
diff --git a/sshpty.c b/sshpty.c
index bce09e25..cae0b977 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -27,6 +27,7 @@
 #endif
 #include <pwd.h>
 #include <stdarg.h>
+#include <stdio.h>
 #include <string.h>
 #include <termios.h>
 #ifdef HAVE_UTIL_H

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


More information about the openssh-commits mailing list