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
|
Forwarded: https://git.samba.org/?p=nss_wrapper.git;a=commitdiff;h=e660ca85fbd23fa40272942e014bb90356175149;hp=2270a7cda76de28c554a7ed1167e49ce19a0fc2f
From: Andreas Schneider <asn@samba.org>
Date: Thu, 17 Jul 2025 15:17:52 +0200
Subject: [PATCH] tests: Add missing include for stdint.h
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>
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.52.0
|