[PATCH] Include stdio.h for vsnprintf
Michael Forney
mforney at mforney.org
Sun Jun 16 12:28:22 AEST 2019
stdio.h is specified as a requirement for vsnprintf in the C standard,
and is required when building with musl libc.
---
openbsd-compat/setproctitle.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/openbsd-compat/setproctitle.c b/openbsd-compat/setproctitle.c
index dbd1a95a..e4064323 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
--
2.20.1
More information about the openssh-unix-dev
mailing list