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 22  
23 23 #include <qpdf/Constants.h>
24 24 #include <qpdf/DLL.h>
  25 +#include <qpdf/JSON.hh>
25 26 #include <qpdf/QPDFObjGen.hh>
26 27 #include <qpdf/Types.h>
27 28  
... ...
include/qpdf/QPDFObjectHandle.hh
... ... @@ -23,6 +23,8 @@
23 23 #ifndef QPDFOBJECTHANDLE_HH
24 24 #define QPDFOBJECTHANDLE_HH
25 25  
  26 +#include <qpdf/ObjectHandle.hh>
  27 +
26 28 #include <qpdf/Constants.h>
27 29 #include <qpdf/DLL.h>
28 30 #include <qpdf/Types.h>
... ... @@ -37,7 +39,6 @@
37 39 #include <qpdf/Buffer.hh>
38 40 #include <qpdf/InputSource.hh>
39 41 #include <qpdf/JSON.hh>
40   -#include <qpdf/ObjectHandle.hh>
41 42 #include <qpdf/QPDFObjGen.hh>
42 43 #include <qpdf/QPDFTokenizer.hh>
43 44  
... ...