]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Add missing stdint.h includes in unit tests files
authorArne Schwabe <arne@rfc2549.org>
Wed, 8 Feb 2023 00:18:18 +0000 (01:18 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 10 Feb 2023 20:52:37 +0000 (21:52 +0100)
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>
tests/unit_tests/example_test/test.c
tests/unit_tests/example_test/test2.c
tests/unit_tests/openvpn/mock_msg.c

index ea31b884d1dcde9a5db37b006a5c2fc488882558..c174025cc4e8ed4ecf7de54034542dc599c0a0c7 100644 (file)
@@ -4,6 +4,7 @@
 #include <stdarg.h>
 #include <string.h>
 #include <setjmp.h>
+#include <stdint.h>
 #include <cmocka.h>
 
 static int
index 5a186d5d769baab9551271023272bdb41d9f4670..bb54633c89906c4f7ddec9eeb675a1ce3d8b5c09 100644 (file)
@@ -4,6 +4,7 @@
 #include <stdarg.h>
 #include <string.h>
 #include <setjmp.h>
+#include <stdint.h>
 #include <cmocka.h>
 
 
index 3ede98c00a94d6fb1ea43a8752207dae1e7732a8..3fa9a166fb895eff3ef13fd90dfaad9548435369 100644 (file)
@@ -32,6 +32,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <setjmp.h>
+#include <stdint.h>
 #include <cmocka.h>