Mailing List Archive

[PATCH] bsd-signal: add stdio.h include
From: Mike Frysinger <vapier@chromium.org>

The strsignal fallback uses snprintf which comes from stdio.h.
---
openbsd-compat/bsd-signal.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/openbsd-compat/bsd-signal.c b/openbsd-compat/bsd-signal.c
index 979010e84b5f..0b816a3a635c 100644
--- a/openbsd-compat/bsd-signal.c
+++ b/openbsd-compat/bsd-signal.c
@@ -17,6 +17,7 @@
#include "includes.h"

#include <signal.h>
+#include <stdio.h>
#include <string.h>
#include <unistd.h>

--
2.23.0

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev