From: Arne Schwabe Date: Wed, 8 Feb 2023 00:18:18 +0000 (+0100) Subject: Add missing stdint.h includes in unit tests files X-Git-Tag: v2.7_alpha1~558 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e80720ef9399d7a4e3469cf1004d064643e0f4dd;p=thirdparty%2Fopenvpn.git Add missing stdint.h includes in unit tests files My mingw compiler/headers (mingw-w64 10.0.0 on macOS) seem to be more pendantic than the one that comes with Ubuntu 22.04 (github actions) or any of the other platforms including msvc/normal windows header. Signed-off-by: Arne Schwabe Acked-by: Selva Nair Message-Id: <20230208001819.244694-5-arne@rfc2549.org> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg26182.html Signed-off-by: Gert Doering --- diff --git a/tests/unit_tests/example_test/test.c b/tests/unit_tests/example_test/test.c index ea31b884d..c174025cc 100644 --- a/tests/unit_tests/example_test/test.c +++ b/tests/unit_tests/example_test/test.c @@ -4,6 +4,7 @@ #include #include #include +#include #include static int diff --git a/tests/unit_tests/example_test/test2.c b/tests/unit_tests/example_test/test2.c index 5a186d5d7..bb54633c8 100644 --- a/tests/unit_tests/example_test/test2.c +++ b/tests/unit_tests/example_test/test2.c @@ -4,6 +4,7 @@ #include #include #include +#include #include diff --git a/tests/unit_tests/openvpn/mock_msg.c b/tests/unit_tests/openvpn/mock_msg.c index 3ede98c00..3fa9a166f 100644 --- a/tests/unit_tests/openvpn/mock_msg.c +++ b/tests/unit_tests/openvpn/mock_msg.c @@ -32,6 +32,7 @@ #include #include #include +#include #include