Merge branch 'bind-dyndb-ldap-v9.16.13' into 'main'

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

See merge request isc-projects/bind9!4840

(cherry picked from commit 19b69e9a3b)

81eb3396 Do not require config.h to use isc/util.h
This commit is contained in:
Ondřej Surý 2021-03-26 18:43:18 +00:00
parent 1c7b15151b
commit ee7283b3ee
2 changed files with 5 additions and 2 deletions

View file

@ -54,8 +54,6 @@
#elif WIN32
#define ISC_CONSTRUCTOR(priority)
#define ISC_DESTRUCTOR(priority)
#else
#error Either __attribute__((constructor|destructor))__ or DllMain support needed to compile BIND 9.
#endif
/*%

View file

@ -17,10 +17,15 @@
#include <isc/tls.h>
#include <isc/util.h>
#include "config.h"
#include "mem_p.h"
#include "tls_p.h"
#include "trampoline_p.h"
#ifndef ISC_CONSTRUCTOR
#error Either __attribute__((constructor|destructor))__ or DllMain support needed to compile BIND 9.
#endif
/***
*** Functions
***/