From: Mattias Ellert Date: Mon, 3 Aug 2026 03:23:11 +0000 (+1000) Subject: Define IOV_MAX if not already defined X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=caba926cd99709e80ea26f9f0ceaa15e5b87c095;p=thirdparty%2Fbind9.git Define IOV_MAX if not already defined Needed for GNU/Hurd --- diff --git a/lib/isccfg/check.c b/lib/isccfg/check.c index 743c97f2f5..3c7af5e2c8 100644 --- a/lib/isccfg/check.c +++ b/lib/isccfg/check.c @@ -1247,6 +1247,14 @@ check_options(const cfg_obj_t *options, const cfg_obj_t *config, "dns64-server", "dns64-contact", NULL }; +#ifndef IOV_MAX +/* + * FSTRM_IOTHR_INPUT_QUEUE_SIZE_MAX is defined as IOV_MAX, but IOV_MAX can be + * undefined. + */ +#define IOV_MAX 1024 +#endif /* ifndef IOV_MAX */ + #ifdef HAVE_DNSTAP static fstrmtable fstrm[] = { { "fstrm-set-buffer-hint", FSTRM_IOTHR_BUFFER_HINT_MIN,