mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
[master] fix compile bug with json but no xml
3604. [bug] Fixed a compile-time error when building with JSON but not XML. [RT #33959]
This commit is contained in:
@@ -89,7 +89,7 @@ typedef enum {
|
||||
task_state_done
|
||||
} task_state_t;
|
||||
|
||||
#if defined(HAVE_LIBXML2)
|
||||
#if defined(HAVE_LIBXML2) || defined(HAVE_JSON)
|
||||
static const char *statenames[] = {
|
||||
"idle", "ready", "running", "done",
|
||||
};
|
||||
|
Reference in New Issue
Block a user