--- podofo-0.9.6/src/base/PdfXRefStreamParserObject.h.orig	2018-09-25 08:58:49.895407400 +0300
+++ podofo-0.9.6/src/base/PdfXRefStreamParserObject.h	2018-09-25 08:58:56.197818500 +0300
@@ -48,7 +48,7 @@
  *
  * It is mainly here to make PdfParser more modular.
  */
-class PdfXRefStreamParserObject : public PdfParserObject {
+class PODOFO_API PdfXRefStreamParserObject : public PdfParserObject {
 public:
 
     /** Parse the object data from the given file handle starting at
--- podofo-0.9.6/src/base/PdfXRef.h.orig	2018-09-25 09:01:20.154871300 +0300
+++ podofo-0.9.6/src/base/PdfXRef.h	2018-09-25 09:01:24.819279500 +0300
@@ -49,7 +49,7 @@
  *
  * This is an internal class of PoDoFo used by PdfWriter.
  */
-class PdfXRef {
+class PODOFO_API PdfXRef {
  protected:
     struct TXRefItem{
         TXRefItem( const PdfReference & rRef, const pdf_uint64 & off ) 
--- podofo-0.9.6/src/base/PdfXRefStream.h.orig	2018-09-25 09:01:42.821711100 +0300
+++ podofo-0.9.6/src/base/PdfXRefStream.h	2018-09-25 09:01:47.470519300 +0300
@@ -52,7 +52,7 @@
  *
  * This is an internal class of PoDoFo used by PdfWriter.
  */
-class PdfXRefStream : public PdfXRef {
+class PODOFO_API PdfXRefStream : public PdfXRef {
  public:
     /** Create a new XRef table
      *
