diff options
author | Arne Schwabe | 2023-02-08 01:18:18 +0100 |
---|---|---|
committer | Gert Doering | 2023-02-10 21:53:40 +0100 |
commit | 1b06696efb069ff9dfc77bac6cb487de232938cc (patch) | |
tree | 918470567880c36a19ac9c42a6431d9c11fbfde6 /tests | |
parent | eca101ac4426442c1ad17e6a706d84c7960a8262 (diff) | |
download | openvpn-1b06696efb069ff9dfc77bac6cb487de232938cc.zip openvpn-1b06696efb069ff9dfc77bac6cb487de232938cc.tar.gz |
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 <arne@rfc2549.org>
Acked-by: Selva Nair <selva.nair@gmail.com>
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 <gert@greenie.muc.de>
(cherry picked from commit e80720ef9399d7a4e3469cf1004d064643e0f4dd)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit_tests/example_test/test.c | 1 | ||||
-rw-r--r-- | tests/unit_tests/example_test/test2.c | 1 | ||||
-rw-r--r-- | tests/unit_tests/openvpn/mock_msg.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit_tests/example_test/test.c b/tests/unit_tests/example_test/test.c index ea31b88..c174025 100644 --- a/tests/unit_tests/example_test/test.c +++ b/tests/unit_tests/example_test/test.c @@ -4,6 +4,7 @@ #include <stdarg.h> #include <string.h> #include <setjmp.h> +#include <stdint.h> #include <cmocka.h> static int diff --git a/tests/unit_tests/example_test/test2.c b/tests/unit_tests/example_test/test2.c index 5a186d5..bb54633 100644 --- a/tests/unit_tests/example_test/test2.c +++ b/tests/unit_tests/example_test/test2.c @@ -4,6 +4,7 @@ #include <stdarg.h> #include <string.h> #include <setjmp.h> +#include <stdint.h> #include <cmocka.h> diff --git a/tests/unit_tests/openvpn/mock_msg.c b/tests/unit_tests/openvpn/mock_msg.c index 3ede98c..3fa9a16 100644 --- a/tests/unit_tests/openvpn/mock_msg.c +++ b/tests/unit_tests/openvpn/mock_msg.c @@ -32,6 +32,7 @@ #include <stdio.h> #include <stdlib.h> #include <setjmp.h> +#include <stdint.h> #include <cmocka.h> |