]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Include stdio.h for FILE in misc.h.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 22 Dec 2020 07:56:54 +0000 (18:56 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 22 Dec 2020 07:56:54 +0000 (18:56 +1100)
Fixes build on at least OpenBSD.

openbsd-compat/port-net.c
sshpty.c

index d7d8c6fa1aa14f7920e5e6c3d0a96e56c0927fe7..da6d446787c922bbca694e9a8ec20e82d7a0fcaa 100644 (file)
@@ -26,6 +26,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stdarg.h>
+#include <stdio.h>
 #include <string.h>
 #include <unistd.h>
 
index bce09e255e0d17a9c6fb48fef5fb0eff0456a377..cae0b977a585379c5cc73ee322ba3f8f3e8fd387 100644 (file)
--- 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