Browse code

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>

Arne Schwabe authored on 2023/02/08 09:18:18
Showing 3 changed files
... ...
@@ -4,6 +4,7 @@
4 4
 #include <stdarg.h>
5 5
 #include <string.h>
6 6
 #include <setjmp.h>
7
+#include <stdint.h>
7 8
 #include <cmocka.h>
8 9
 
9 10
 static int
... ...
@@ -4,6 +4,7 @@
4 4
 #include <stdarg.h>
5 5
 #include <string.h>
6 6
 #include <setjmp.h>
7
+#include <stdint.h>
7 8
 #include <cmocka.h>
8 9
 
9 10
 
... ...
@@ -32,6 +32,7 @@
32 32
 #include <stdio.h>
33 33
 #include <stdlib.h>
34 34
 #include <setjmp.h>
35
+#include <stdint.h>
35 36
 #include <cmocka.h>
36 37
 
37 38