aboutsummaryrefslogtreecommitdiff
path: root/net/openssh/patches/010-musl-stdio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net/openssh/patches/010-musl-stdio.patch')
-rw-r--r--net/openssh/patches/010-musl-stdio.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/openssh/patches/010-musl-stdio.patch b/net/openssh/patches/010-musl-stdio.patch
new file mode 100644
index 000000000..282f963e6
--- /dev/null
+++ b/net/openssh/patches/010-musl-stdio.patch
@@ -0,0 +1,22 @@
+From 73eb6cef41daba0359c1888e4756108d41b4e819 Mon Sep 17 00:00:00 2001
+From: Darren Tucker <dtucker@dtucker.net>
+Date: Sun, 16 Jun 2019 12:55:27 +1000
+Subject: [PATCH] Include stdio.h for vsnprintf.
+
+Patch from mforney at mforney.org.
+---
+ openbsd-compat/setproctitle.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/openbsd-compat/setproctitle.c b/openbsd-compat/setproctitle.c
+index dbd1a95a0..e4064323a 100644
+--- a/openbsd-compat/setproctitle.c
++++ b/openbsd-compat/setproctitle.c
+@@ -36,6 +36,7 @@
+ #ifndef HAVE_SETPROCTITLE
+
+ #include <stdarg.h>
++#include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #ifdef HAVE_SYS_PSTAT_H