Fix testpdfio build - dependencies on pdfio-private.h were missing.

This commit is contained in:
Michael R Sweet
2021-11-29 17:57:49 -05:00
parent a431d7806f
commit 001dcbb123
2 changed files with 5 additions and 6 deletions

View File

@@ -971,7 +971,7 @@ do_unit_tests(void)
fputs("_pdfioValueRead(complex_dict): ", stdout);
s = complex_dict;
_pdfioTokenInit(&tb, inpdf, (_pdfio_tconsume_cb_t)token_consume_cb, (_pdfio_tpeek_cb_t)token_peek_cb, (void *)&s);
if (_pdfioValueRead(inpdf, NULL, &tb, &value))
if (_pdfioValueRead(inpdf, NULL, &tb, &value, 0))
{
// TODO: Check value...
fputs("PASS: ", stdout);
@@ -985,7 +985,7 @@ do_unit_tests(void)
fputs("_pdfioValueRead(cid_dict): ", stdout);
s = cid_dict;
_pdfioTokenInit(&tb, inpdf, (_pdfio_tconsume_cb_t)token_consume_cb, (_pdfio_tpeek_cb_t)token_peek_cb, (void *)&s);
if (_pdfioValueRead(inpdf, NULL, &tb, &value))
if (_pdfioValueRead(inpdf, NULL, &tb, &value, 0))
{
// TODO: Check value...
fputs("PASS: ", stdout);