Browse code

unit_tests/plugins/auth-pam: fix stdint.h related build error on fedora 42

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)

Gert Doering authored on 2025/07/28 19:42:29
Showing 1 changed files
... ...
@@ -2,6 +2,7 @@
2 2
 #include <unistd.h>
3 3
 #include <stdlib.h>
4 4
 #include <stdarg.h>
5
+#include <stdint.h>
5 6
 #include <string.h>
6 7
 #include <setjmp.h>
7 8
 #include <cmocka.h>