]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
unit_tests/plugins/auth-pam: fix stdint.h related build error on fedora 42
authorGert Doering <gert@greenie.muc.de>
Mon, 28 Jul 2025 10:42:29 +0000 (12:42 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 28 Jul 2025 10:49:46 +0000 (12:49 +0200)
add <stdint.h> to test_search_and_replace.c to fix build error on
fedora 42 / arm64 ("error: uintptr_t undeclared")

Change-Id: I2ab13767b5aa858e024b45be3d161bf6090de763
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20250728104234.29797-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg32384.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
tests/unit_tests/plugins/auth-pam/test_search_and_replace.c

index d40467f2143d549b63d8f94d753cc90bb745559e..50b241da56859947a5decc515aff188201189e38 100644 (file)
@@ -2,6 +2,7 @@
 #include <unistd.h>
 #include <stdlib.h>
 #include <stdarg.h>
+#include <stdint.h>
 #include <string.h>
 #include <setjmp.h>
 #include <cmocka.h>