summaryrefslogtreecommitdiff
path: root/sys-libs/nss_wrapper/files/nss_wrapper-1.1.16-stdint.patch
blob: b308702dea12e8180a02392b72e461d35b75558a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
https://git.samba.org/?p=nss_wrapper.git;a=commit;h=e660ca85fbd23fa40272942e014bb90356175149

From e660ca85fbd23fa40272942e014bb90356175149 Mon Sep 17 00:00:00 2001
From: Andreas Schneider <asn@samba.org>
Date: Thu, 17 Jul 2025 15:17:52 +0200
Subject: [PATCH] tests: Add missing include for stdint.h
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
---
 tests/test_getaddrinfo.c         | 1 +
 tests/test_gethostby_name_addr.c | 1 +
 tests/test_gethostent.c          | 3 ++-
 tests/test_getpwuid_module.c     | 1 +
 tests/test_initgroups.c          | 1 +
 tests/test_nwrap_disabled.c      | 1 +
 tests/testsuite.c                | 1 +
 7 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/tests/test_getaddrinfo.c b/tests/test_getaddrinfo.c
index 6de0323..63dc21f 100644
--- a/tests/test_getaddrinfo.c
+++ b/tests/test_getaddrinfo.c
@@ -2,6 +2,7 @@
 
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 
diff --git a/tests/test_gethostby_name_addr.c b/tests/test_gethostby_name_addr.c
index e8939f6..9aae9ae 100644
--- a/tests/test_gethostby_name_addr.c
+++ b/tests/test_gethostby_name_addr.c
@@ -4,6 +4,7 @@
 
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 
diff --git a/tests/test_gethostent.c b/tests/test_gethostent.c
index aa61696..ad8a89c 100644
--- a/tests/test_gethostent.c
+++ b/tests/test_gethostent.c
@@ -2,6 +2,7 @@
 
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 
@@ -31,7 +32,7 @@ static void test_nwrap_gethostent(void **state)
 			char buf[INET6_ADDRSTRLEN];
 			uint32_t j;
 			const char *ip;
-			
+
 			ip = inet_ntop(he->h_addrtype,
 				       he->h_addr_list[i],
 				       buf,
diff --git a/tests/test_getpwuid_module.c b/tests/test_getpwuid_module.c
index a06a49d..3718ebb 100644
--- a/tests/test_getpwuid_module.c
+++ b/tests/test_getpwuid_module.c
@@ -2,6 +2,7 @@
 
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 #include <unistd.h>
diff --git a/tests/test_initgroups.c b/tests/test_initgroups.c
index 1ec2220..f5ccba7 100644
--- a/tests/test_initgroups.c
+++ b/tests/test_initgroups.c
@@ -1,5 +1,6 @@
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 #include <unistd.h>
diff --git a/tests/test_nwrap_disabled.c b/tests/test_nwrap_disabled.c
index f00294b..090377d 100644
--- a/tests/test_nwrap_disabled.c
+++ b/tests/test_nwrap_disabled.c
@@ -2,6 +2,7 @@
 
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 
diff --git a/tests/testsuite.c b/tests/testsuite.c
index bf678fd..41082f9 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -2,6 +2,7 @@
 
 #include <stdarg.h>
 #include <stddef.h>
+#include <stdint.h>
 #include <setjmp.h>
 #include <cmocka.h>
 
-- 
2.34.1