Index: fpdfsdk/fsdk_define.h |
diff --git a/fpdfsdk/fsdk_define.h b/fpdfsdk/fsdk_define.h |
index aeb42d2d110ba672af244a118aaca08d833f8bf7..e5a287fac647a9200d43af5cd80fc4cc10f76051 100644 |
--- a/fpdfsdk/fsdk_define.h |
+++ b/fpdfsdk/fsdk_define.h |
@@ -12,7 +12,7 @@ |
#include "public/fpdfview.h" |
#ifdef PDF_ENABLE_XFA |
-#include "fpdfsdk/fpdfxfa/cpdfxfa_document.h" |
+#include "fpdfsdk/fpdfxfa/cpdfxfa_context.h" |
#endif // PDF_ENABLE_XFA |
#ifdef _WIN32 |
@@ -71,7 +71,7 @@ class CFPDF_FileStream : public IFX_SeekableStream { |
using UnderlyingDocumentType = CPDF_Document; |
using UnderlyingPageType = CPDF_Page; |
#else // PDF_ENABLE_XFA |
-using UnderlyingDocumentType = CPDFXFA_Document; |
+using UnderlyingDocumentType = CPDFXFA_Context; |
using UnderlyingPageType = CPDFXFA_Page; |
#endif // PDF_ENABLE_XFA |