Commit 9367eb8a28ff05e289706b722f36be776d52ba5d

Authored by Jay Berkenbilt
1 parent a9b613ea

Add missing include in ObjectHandle.hh

...and include ObjectHandle.hh first in QPDFObjectHandle so there is
at least one place (other than check_abi get-sizes) that includes it
first.
include/qpdf/ObjectHandle.hh
@@ -22,6 +22,7 @@ @@ -22,6 +22,7 @@
22 22
23 #include <qpdf/Constants.h> 23 #include <qpdf/Constants.h>
24 #include <qpdf/DLL.h> 24 #include <qpdf/DLL.h>
  25 +#include <qpdf/JSON.hh>
25 #include <qpdf/QPDFObjGen.hh> 26 #include <qpdf/QPDFObjGen.hh>
26 #include <qpdf/Types.h> 27 #include <qpdf/Types.h>
27 28
include/qpdf/QPDFObjectHandle.hh
@@ -23,6 +23,8 @@ @@ -23,6 +23,8 @@
23 #ifndef QPDFOBJECTHANDLE_HH 23 #ifndef QPDFOBJECTHANDLE_HH
24 #define QPDFOBJECTHANDLE_HH 24 #define QPDFOBJECTHANDLE_HH
25 25
  26 +#include <qpdf/ObjectHandle.hh>
  27 +
26 #include <qpdf/Constants.h> 28 #include <qpdf/Constants.h>
27 #include <qpdf/DLL.h> 29 #include <qpdf/DLL.h>
28 #include <qpdf/Types.h> 30 #include <qpdf/Types.h>
@@ -37,7 +39,6 @@ @@ -37,7 +39,6 @@
37 #include <qpdf/Buffer.hh> 39 #include <qpdf/Buffer.hh>
38 #include <qpdf/InputSource.hh> 40 #include <qpdf/InputSource.hh>
39 #include <qpdf/JSON.hh> 41 #include <qpdf/JSON.hh>
40 -#include <qpdf/ObjectHandle.hh>  
41 #include <qpdf/QPDFObjGen.hh> 42 #include <qpdf/QPDFObjGen.hh>
42 #include <qpdf/QPDFTokenizer.hh> 43 #include <qpdf/QPDFTokenizer.hh>
43 44