2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00

fix include order for off_t

This commit is contained in:
Jay Berkenbilt 2012-06-21 13:47:41 -04:00
parent fbe68d63f0
commit f59ff6fcc2
11 changed files with 23 additions and 15 deletions

View File

@ -11,8 +11,8 @@
// This pipeline is reusable; i.e., it is safe to call write() after
// calling finish().
#include <qpdf/Pipeline.hh>
#include <qpdf/Types.h>
#include <qpdf/Pipeline.hh>
class Pl_Count: public Pipeline
{

View File

@ -8,15 +8,15 @@
#ifndef __QPDF_HH__
#define __QPDF_HH__
#include <qpdf/DLL.h>
#include <qpdf/Types.h>
#include <stdio.h>
#include <string>
#include <map>
#include <list>
#include <iostream>
#include <qpdf/DLL.h>
#include <qpdf/Types.h>
#include <qpdf/QPDFXRefEntry.hh>
#include <qpdf/QPDFObjectHandle.hh>
#include <qpdf/QPDFTokenizer.hh>

View File

@ -9,8 +9,9 @@
#define __QPDFEXC_HH__
#include <qpdf/DLL.h>
#include <qpdf/Constants.h>
#include <qpdf/Types.h>
#include <qpdf/Constants.h>
#include <stdexcept>
class QPDFExc: public std::runtime_error

View File

@ -8,14 +8,14 @@
#ifndef __QPDFOBJECTHANDLE_HH__
#define __QPDFOBJECTHANDLE_HH__
#include <qpdf/DLL.h>
#include <qpdf/Types.h>
#include <string>
#include <vector>
#include <set>
#include <map>
#include <qpdf/DLL.h>
#include <qpdf/Types.h>
#include <qpdf/PointerHolder.hh>
#include <qpdf/Buffer.hh>

View File

@ -12,6 +12,9 @@
#ifndef __QPDFWRITER_HH__
#define __QPDFWRITER_HH__
#include <qpdf/DLL.h>
#include <qpdf/Types.h>
#include <stdio.h>
#include <string>
#include <list>
@ -19,9 +22,7 @@
#include <set>
#include <map>
#include <qpdf/DLL.h>
#include <qpdf/Constants.h>
#include <qpdf/Types.h>
#include <qpdf/QPDFXRefEntry.hh>

View File

@ -10,6 +10,7 @@
#include <qpdf/DLL.h>
#include <qpdf/Types.h>
#include <string>
#include <list>
#include <stdexcept>

View File

@ -1,6 +1,10 @@
#ifndef __QPDFTYPES_H__
#define __QPDFTYPES_H__
/* This file must be included before any system files. It should be
* included right after <qpdf/DLL.h> within the library.
*/
/* Attempt to provide off_t and size_t on any recent platform. To
* make cross compilation easier and to be more portable across
* platforms, QPDF avoids having any public header files use the

View File

@ -70,8 +70,8 @@
*/
#include <qpdf/DLL.h>
#include <qpdf/Constants.h>
#include <qpdf/Types.h>
#include <qpdf/Constants.h>
#ifdef __cplusplus
extern "C" {

View File

@ -1,7 +1,6 @@
#ifndef __MD5_HH__
#define __MD5_HH__
#include <string>
#include <qpdf/DLL.h>
#include <qpdf/qpdf-config.h>
#ifdef HAVE_INTTYPES_H
@ -10,6 +9,7 @@
#ifdef HAVE_STDINT_H
# include <stdint.h>
#endif
#include <string>
class MD5
{

View File

@ -5,6 +5,8 @@
#ifndef __PCRE_HH__
#define __PCRE_HH__
#include <qpdf/DLL.h>
#ifdef _WIN32
# define PCRE_STATIC
#endif
@ -12,8 +14,6 @@
#include <string>
#include <stdexcept>
#include <qpdf/DLL.h>
// Note: this class does not encapsulate all features of the PCRE
// package -- only those that I actually need right now are here.

View File

@ -1,8 +1,9 @@
#ifndef __QPDF_STREAM_HH__
#define __QPDF_STREAM_HH__
#include <qpdf/QPDFObject.hh>
#include <qpdf/Types.h>
#include <qpdf/QPDFObject.hh>
#include <qpdf/QPDFObjectHandle.hh>
class Pipeline;