From c2dcd055fe03f3ec5c76bc1c778b97aa4941e17b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Thu, 18 May 2023 15:12:23 +0200 Subject: [PATCH] Include whenever including Development versions of cmocka require the intmax_t and uintmax_t types to be defined by the time the test code includes the header. These types are defined in the header, which is included by the header, which in turn is already explicitly included by some of the programs in the tests/ directory. Ensure all programs in that directory that include the header also include the header to future-proof the code while keeping the change set minimal and the resulting code consistent. Also prevent explicitly including the header in those programs as it is included by the header. --- tests/dns/acl_test.c | 1 + tests/dns/db_test.c | 1 + tests/dns/dbdiff_test.c | 1 + tests/dns/dbiterator_test.c | 1 + tests/dns/dbversion_test.c | 1 + tests/dns/dns64_test.c | 1 + tests/dns/dst_test.c | 1 + tests/dns/geoip_test.c | 1 + tests/dns/master_test.c | 1 + tests/dns/nsec3_test.c | 1 + tests/dns/nsec3param_test.c | 1 + tests/dns/qp_test.c | 1 + tests/dns/qpmulti_test.c | 2 +- tests/dns/rbtdb_test.c | 1 + tests/dns/rdata_test.c | 1 + tests/dns/rdataset_test.c | 1 + tests/dns/resolver_test.c | 1 + tests/dns/rsa_test.c | 1 + tests/dns/sigs_test.c | 1 + tests/dns/tsig_test.c | 1 + tests/dns/zonemgr_test.c | 1 + tests/dns/zt_test.c | 1 + tests/irs/resconf_test.c | 1 + tests/isc/aes_test.c | 1 + tests/isc/ascii_test.c | 2 +- tests/isc/async_test.c | 1 + tests/isc/buffer_test.c | 1 + tests/isc/counter_test.c | 1 + tests/isc/crc64_test.c | 1 + tests/isc/errno_test.c | 1 + tests/isc/file_test.c | 1 + tests/isc/heap_test.c | 1 + tests/isc/histo_test.c | 1 + tests/isc/hmac_test.c | 1 + tests/isc/job_test.c | 1 + tests/isc/lex_test.c | 1 + tests/isc/loop_test.c | 1 + tests/isc/md_test.c | 1 + tests/isc/mutex_test.c | 1 + tests/isc/netaddr_test.c | 1 + tests/isc/netmgr_common.c | 1 + tests/isc/quota_test.c | 1 + tests/isc/radix_test.c | 1 + tests/isc/regex_test.c | 1 + tests/isc/result_test.c | 1 + tests/isc/safe_test.c | 1 + tests/isc/siphash_test.c | 1 + tests/isc/sockaddr_test.c | 1 + tests/isc/spinlock_test.c | 1 + tests/isc/stats_test.c | 1 + tests/isc/stream_shutdown.c | 1 + tests/isc/symtab_test.c | 1 + tests/isc/tcp_test.c | 1 + tests/isc/tcpdns_test.c | 1 + tests/isc/time_test.c | 1 + tests/isc/tls_test.c | 1 + tests/isc/tlsdns_test.c | 1 + tests/isc/udp_test.c | 1 + tests/isc/work_test.c | 1 + tests/isccfg/duration_test.c | 2 +- tests/isccfg/parser_test.c | 1 + tests/ns/listenlist_test.c | 1 + tests/ns/notify_test.c | 1 + tests/ns/plugin_test.c | 1 + 64 files changed, 64 insertions(+), 3 deletions(-) diff --git a/tests/dns/acl_test.c b/tests/dns/acl_test.c index 419ffc06d7..306921e64a 100644 --- a/tests/dns/acl_test.c +++ b/tests/dns/acl_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/db_test.c b/tests/dns/db_test.c index 87076b9350..a854e3669e 100644 --- a/tests/dns/db_test.c +++ b/tests/dns/db_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/dbdiff_test.c b/tests/dns/dbdiff_test.c index 4857683e4c..f0fb8804f8 100644 --- a/tests/dns/dbdiff_test.c +++ b/tests/dns/dbdiff_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/dbiterator_test.c b/tests/dns/dbiterator_test.c index f8f008bd51..f0277b16b8 100644 --- a/tests/dns/dbiterator_test.c +++ b/tests/dns/dbiterator_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/dbversion_test.c b/tests/dns/dbversion_test.c index 8c62436901..2d37e891bd 100644 --- a/tests/dns/dbversion_test.c +++ b/tests/dns/dbversion_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/dns64_test.c b/tests/dns/dns64_test.c index c55d00ef10..ad547ae060 100644 --- a/tests/dns/dns64_test.c +++ b/tests/dns/dns64_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/dst_test.c b/tests/dns/dst_test.c index 15b89d9d4a..b8f80dd8aa 100644 --- a/tests/dns/dst_test.c +++ b/tests/dns/dst_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/geoip_test.c b/tests/dns/geoip_test.c index b4e7cf80a5..d008117fbc 100644 --- a/tests/dns/geoip_test.c +++ b/tests/dns/geoip_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/master_test.c b/tests/dns/master_test.c index a2076395a8..8d33f5ed4b 100644 --- a/tests/dns/master_test.c +++ b/tests/dns/master_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/nsec3_test.c b/tests/dns/nsec3_test.c index 4cbf6a9324..c2fcacd994 100644 --- a/tests/dns/nsec3_test.c +++ b/tests/dns/nsec3_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/nsec3param_test.c b/tests/dns/nsec3param_test.c index 84d1b4cad0..b0282d7e07 100644 --- a/tests/dns/nsec3param_test.c +++ b/tests/dns/nsec3param_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/qp_test.c b/tests/dns/qp_test.c index 8a1156b537..7508291720 100644 --- a/tests/dns/qp_test.c +++ b/tests/dns/qp_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/qpmulti_test.c b/tests/dns/qpmulti_test.c index 96a2693033..89440984d6 100644 --- a/tests/dns/qpmulti_test.c +++ b/tests/dns/qpmulti_test.c @@ -12,11 +12,11 @@ */ #include +#include #include /* IWYU pragma: keep */ #include #include #include -#include #include #define UNIT_TESTING diff --git a/tests/dns/rbtdb_test.c b/tests/dns/rbtdb_test.c index 817dd67e2f..681c077681 100644 --- a/tests/dns/rbtdb_test.c +++ b/tests/dns/rbtdb_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/rdata_test.c b/tests/dns/rdata_test.c index 234c74b54b..8da047b5c1 100644 --- a/tests/dns/rdata_test.c +++ b/tests/dns/rdata_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/rdataset_test.c b/tests/dns/rdataset_test.c index e9b47ecbf3..fc21b29f9d 100644 --- a/tests/dns/rdataset_test.c +++ b/tests/dns/rdataset_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/resolver_test.c b/tests/dns/resolver_test.c index 6db03141fa..e9d133e3fc 100644 --- a/tests/dns/resolver_test.c +++ b/tests/dns/resolver_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/rsa_test.c b/tests/dns/rsa_test.c index f19105fb01..c9895690d4 100644 --- a/tests/dns/rsa_test.c +++ b/tests/dns/rsa_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/sigs_test.c b/tests/dns/sigs_test.c index 1dfdd83e34..88e4f7fb4e 100644 --- a/tests/dns/sigs_test.c +++ b/tests/dns/sigs_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/tsig_test.c b/tests/dns/tsig_test.c index e18fc69dd6..a7d11e9e81 100644 --- a/tests/dns/tsig_test.c +++ b/tests/dns/tsig_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/zonemgr_test.c b/tests/dns/zonemgr_test.c index 33d882f67f..3d7c3b688b 100644 --- a/tests/dns/zonemgr_test.c +++ b/tests/dns/zonemgr_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/dns/zt_test.c b/tests/dns/zt_test.c index f3821abc2e..c5ab32dff9 100644 --- a/tests/dns/zt_test.c +++ b/tests/dns/zt_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/irs/resconf_test.c b/tests/irs/resconf_test.c index cb122df763..367898f8c2 100644 --- a/tests/irs/resconf_test.c +++ b/tests/irs/resconf_test.c @@ -13,6 +13,7 @@ #if HAVE_CMOCKA +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/aes_test.c b/tests/isc/aes_test.c index c328b92b02..9e9ea22898 100644 --- a/tests/isc/aes_test.c +++ b/tests/isc/aes_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/ascii_test.c b/tests/isc/ascii_test.c index 078a98ce27..f49b64b9e2 100644 --- a/tests/isc/ascii_test.c +++ b/tests/isc/ascii_test.c @@ -12,10 +12,10 @@ */ #include +#include #include /* IWYU pragma: keep */ #include #include -#include #include #define UNIT_TESTING diff --git a/tests/isc/async_test.c b/tests/isc/async_test.c index 41f0ee18f5..c56a12b75b 100644 --- a/tests/isc/async_test.c +++ b/tests/isc/async_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/buffer_test.c b/tests/isc/buffer_test.c index a0530784c3..fe6d2bcc27 100644 --- a/tests/isc/buffer_test.c +++ b/tests/isc/buffer_test.c @@ -12,6 +12,7 @@ */ #include +#include #include #include /* IWYU pragma: keep */ #include diff --git a/tests/isc/counter_test.c b/tests/isc/counter_test.c index 065a6f0a3b..dc8dc50f6a 100644 --- a/tests/isc/counter_test.c +++ b/tests/isc/counter_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/crc64_test.c b/tests/isc/crc64_test.c index f635b1bb03..a652dd5b01 100644 --- a/tests/isc/crc64_test.c +++ b/tests/isc/crc64_test.c @@ -13,6 +13,7 @@ /* ! \file */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/errno_test.c b/tests/isc/errno_test.c index 11d48fa8f5..fbfe56ad4e 100644 --- a/tests/isc/errno_test.c +++ b/tests/isc/errno_test.c @@ -12,6 +12,7 @@ */ #include +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/file_test.c b/tests/isc/file_test.c index 39670b57eb..6b75ba2490 100644 --- a/tests/isc/file_test.c +++ b/tests/isc/file_test.c @@ -12,6 +12,7 @@ */ #include +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/heap_test.c b/tests/isc/heap_test.c index 9e29a4b812..19e3ba5a8c 100644 --- a/tests/isc/heap_test.c +++ b/tests/isc/heap_test.c @@ -13,6 +13,7 @@ /* ! \file */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/histo_test.c b/tests/isc/histo_test.c index f94cb52424..8f905120b5 100644 --- a/tests/isc/histo_test.c +++ b/tests/isc/histo_test.c @@ -13,6 +13,7 @@ /* ! \file */ +#include #include #include /* IWYU pragma: keep */ #include diff --git a/tests/isc/hmac_test.c b/tests/isc/hmac_test.c index 9984cc7208..d836bbed31 100644 --- a/tests/isc/hmac_test.c +++ b/tests/isc/hmac_test.c @@ -13,6 +13,7 @@ /* ! \file */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/job_test.c b/tests/isc/job_test.c index 9c3a9fff4a..5e05dbdcbc 100644 --- a/tests/isc/job_test.c +++ b/tests/isc/job_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/lex_test.c b/tests/isc/lex_test.c index 538e135982..ee0a084341 100644 --- a/tests/isc/lex_test.c +++ b/tests/isc/lex_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/loop_test.c b/tests/isc/loop_test.c index b7acad4224..539e273c28 100644 --- a/tests/isc/loop_test.c +++ b/tests/isc/loop_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/md_test.c b/tests/isc/md_test.c index f9adb4fb18..579078cb7e 100644 --- a/tests/isc/md_test.c +++ b/tests/isc/md_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/mutex_test.c b/tests/isc/mutex_test.c index bd675db28b..3348964989 100644 --- a/tests/isc/mutex_test.c +++ b/tests/isc/mutex_test.c @@ -12,6 +12,7 @@ */ #include +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/netaddr_test.c b/tests/isc/netaddr_test.c index b44982c26b..2394e11166 100644 --- a/tests/isc/netaddr_test.c +++ b/tests/isc/netaddr_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/netmgr_common.c b/tests/isc/netmgr_common.c index 6ed42318b8..300fb5e27f 100644 --- a/tests/isc/netmgr_common.c +++ b/tests/isc/netmgr_common.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/quota_test.c b/tests/isc/quota_test.c index 8efa9232c7..59e865852d 100644 --- a/tests/isc/quota_test.c +++ b/tests/isc/quota_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/radix_test.c b/tests/isc/radix_test.c index 2fe9294d69..1e03e52f2d 100644 --- a/tests/isc/radix_test.c +++ b/tests/isc/radix_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/regex_test.c b/tests/isc/regex_test.c index 1650af9dc6..379dfdcc15 100644 --- a/tests/isc/regex_test.c +++ b/tests/isc/regex_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/result_test.c b/tests/isc/result_test.c index cca66b85d6..cec195bef4 100644 --- a/tests/isc/result_test.c +++ b/tests/isc/result_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/safe_test.c b/tests/isc/safe_test.c index 39221649c2..a3f01fe9af 100644 --- a/tests/isc/safe_test.c +++ b/tests/isc/safe_test.c @@ -13,6 +13,7 @@ /* ! \file */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/siphash_test.c b/tests/isc/siphash_test.c index f78c1d1e72..6fca930306 100644 --- a/tests/isc/siphash_test.c +++ b/tests/isc/siphash_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/sockaddr_test.c b/tests/isc/sockaddr_test.c index d89ba51b1e..4dd70602a8 100644 --- a/tests/isc/sockaddr_test.c +++ b/tests/isc/sockaddr_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/spinlock_test.c b/tests/isc/spinlock_test.c index a7eaae9ae4..148832babf 100644 --- a/tests/isc/spinlock_test.c +++ b/tests/isc/spinlock_test.c @@ -12,6 +12,7 @@ */ #include +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/stats_test.c b/tests/isc/stats_test.c index 79d784e2df..a4753236e5 100644 --- a/tests/isc/stats_test.c +++ b/tests/isc/stats_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/stream_shutdown.c b/tests/isc/stream_shutdown.c index 71d6a99ff0..fc0264cb7a 100644 --- a/tests/isc/stream_shutdown.c +++ b/tests/isc/stream_shutdown.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/symtab_test.c b/tests/isc/symtab_test.c index 27b8af37ff..2b4f30d9f2 100644 --- a/tests/isc/symtab_test.c +++ b/tests/isc/symtab_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/tcp_test.c b/tests/isc/tcp_test.c index 5b990218c8..79c8505086 100644 --- a/tests/isc/tcp_test.c +++ b/tests/isc/tcp_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/tcpdns_test.c b/tests/isc/tcpdns_test.c index 3fedd9e9d4..058f101727 100644 --- a/tests/isc/tcpdns_test.c +++ b/tests/isc/tcpdns_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/time_test.c b/tests/isc/time_test.c index a581af43f3..18b42e5098 100644 --- a/tests/isc/time_test.c +++ b/tests/isc/time_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/tls_test.c b/tests/isc/tls_test.c index 58aaf131d2..b3ed83b3bc 100644 --- a/tests/isc/tls_test.c +++ b/tests/isc/tls_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/tlsdns_test.c b/tests/isc/tlsdns_test.c index b3a09b7726..1e02b0a483 100644 --- a/tests/isc/tlsdns_test.c +++ b/tests/isc/tlsdns_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/udp_test.c b/tests/isc/udp_test.c index 5b8a0ba527..3ede5a29f1 100644 --- a/tests/isc/udp_test.c +++ b/tests/isc/udp_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isc/work_test.c b/tests/isc/work_test.c index 769508fa02..3c126ee613 100644 --- a/tests/isc/work_test.c +++ b/tests/isc/work_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/isccfg/duration_test.c b/tests/isccfg/duration_test.c index b152578b82..8bc911cf23 100644 --- a/tests/isccfg/duration_test.c +++ b/tests/isccfg/duration_test.c @@ -11,11 +11,11 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include #include -#include #include #include #include diff --git a/tests/isccfg/parser_test.c b/tests/isccfg/parser_test.c index 4e2d2881ac..baba26dd6d 100644 --- a/tests/isccfg/parser_test.c +++ b/tests/isccfg/parser_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/ns/listenlist_test.c b/tests/ns/listenlist_test.c index 35ac84f15c..327526dcb8 100644 --- a/tests/ns/listenlist_test.c +++ b/tests/ns/listenlist_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/ns/notify_test.c b/tests/ns/notify_test.c index 1410f6d148..863a4a0692 100644 --- a/tests/ns/notify_test.c +++ b/tests/ns/notify_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include /* IWYU pragma: keep */ #include #include diff --git a/tests/ns/plugin_test.c b/tests/ns/plugin_test.c index 90d6bb14de..92b9b78b8d 100644 --- a/tests/ns/plugin_test.c +++ b/tests/ns/plugin_test.c @@ -11,6 +11,7 @@ * information regarding copyright ownership. */ +#include #include #include /* IWYU pragma: keep */ #include