]> 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 12:42:51 +0000 (14:42 +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>
(cherry picked from commit 035d47e6d80996a4cde8af1b35f9ba40b676c825)

tests/unit_tests/plugins/auth-pam/test_search_and_replace.c

index ee7a15182ce7a772eafbcc2d8269e0682a332fe9..5019bbd418bffe2c5a9f4819cf09c916a0c3f00d 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>