[PATCH] bsd-signal: add stdio.h include

Mike Frysinger vapier at gentoo.org
Mon Sep 30 17:05:07 AEST 2019


From: Mike Frysinger <vapier at 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



More information about the openssh-unix-dev mailing list