2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Make the usage of json-c objects opaque to the caller

The json-c have previously leaked into the global namespace leading
to forced -I<include_path> for every compilation unit using isc/xml.h
header.  This MR fixes the usage making the caller object opaque.
This commit is contained in:
Ondřej Surý
2019-06-24 12:21:47 +02:00
parent 0771dd3be8
commit e3e6888946
57 changed files with 164 additions and 168 deletions

View File

@@ -54,6 +54,9 @@
#include <gperftools/profiler.h>
#endif
#ifdef HAVE_JSON_C
#include <json_c_version.h>
#endif /* HAVE_JSON_C */
/*
* Defining NAMED_MAIN provides storage declarations (rather than extern)