[openssh-commits] [openssh] branch master updated: add missing <stdio.h> include to unit tests for printf
git+noreply at mindrot.org
git+noreply at mindrot.org
Tue Mar 31 16:33:27 AEDT 2026
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
The following commit(s) were added to refs/heads/master by this push:
new 52c01f2a8 add missing <stdio.h> include to unit tests for printf
52c01f2a8 is described below
commit 52c01f2a8019002c70cfd93be87ff9adee1d0e73
Author: Michael Forney <mforney at mforney.org>
AuthorDate: Tue Mar 31 12:54:22 2026 +1100
add missing <stdio.h> include to unit tests for printf
This fixes the build with --without-openssl on musl. glibc worked
previously because it got stdio.h implicitly through resolv.h.
---
regress/unittests/kex/tests.c | 4 ++++
regress/unittests/sshkey/tests.c | 2 ++
2 files changed, 6 insertions(+)
diff --git a/regress/unittests/kex/tests.c b/regress/unittests/kex/tests.c
index a3ef19ef4..d8a38e04a 100644
--- a/regress/unittests/kex/tests.c
+++ b/regress/unittests/kex/tests.c
@@ -3,6 +3,10 @@
* Placed in the public domain
*/
+#include "includes.h"
+
+#include <stdio.h>
+
#include "../test_helper/test_helper.h"
void kex_tests(void);
diff --git a/regress/unittests/sshkey/tests.c b/regress/unittests/sshkey/tests.c
index 5511e7b89..426543bd7 100644
--- a/regress/unittests/sshkey/tests.c
+++ b/regress/unittests/sshkey/tests.c
@@ -7,6 +7,8 @@
#include "includes.h"
+#include <stdio.h>
+
#include "../test_helper/test_helper.h"
void sshkey_tests(void);
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list