Skip to content

Commit 52c01f2

Browse files
michaelforneydjmdjm
authored andcommitted
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.
1 parent 1340d3f commit 52c01f2

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

regress/unittests/kex/tests.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
* Placed in the public domain
44
*/
55

6+
#include "includes.h"
7+
8+
#include <stdio.h>
9+
610
#include "../test_helper/test_helper.h"
711

812
void kex_tests(void);

regress/unittests/sshkey/tests.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "includes.h"
99

10+
#include <stdio.h>
11+
1012
#include "../test_helper/test_helper.h"
1113

1214
void sshkey_tests(void);

0 commit comments

Comments
 (0)