Skip to content

Do not require config.h to use isc/util.h

Petr Menšík requested to merge pemensik/bind9:bind-dyndb-ldap-v9.16.13 into main

util.h requires ISC_CONSTRUCTOR definition, which depends on config.h inclusion. It does not include it from isc/util.h (or any other header). Using isc/util.h fails hard when isc/util.h is used without including bind's config.h.

Move the check to c file, where ISC_CONSTRUCTOR is used. Ensure config.h is included there.

Merge request reports