diff options
Diffstat (limited to 'usr/src/lib/libpool/common/pool_xml.c')
-rw-r--r-- | usr/src/lib/libpool/common/pool_xml.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr/src/lib/libpool/common/pool_xml.c b/usr/src/lib/libpool/common/pool_xml.c index 4f0b6df..c696cbf 100644 --- a/usr/src/lib/libpool/common/pool_xml.c +++ b/usr/src/lib/libpool/common/pool_xml.c @@ -131,7 +131,12 @@ static const char *data_type_tags[] = { "string" }; -const char *dtd_location = "file:///usr/share/lib/xml/dtd/rm_pool.dtd.1"; +#ifndef LIBPOOL_DTD_DIR +# warning LIBPOOL_DTD_DIR is not defined, using default +# define LIBPOOL_DTD_DIR "/usr/share/lib/xml/dtd" +#endif + +const char *dtd_location = "file://" LIBPOOL_DTD_DIR "/rm_pool.dtd.1"; static elem_type_tbl_t elem_tbl[ELEM_TYPE_COUNT] = {0}; |