diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-05-06 08:19:56 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-05-06 08:19:56 +0000 |
commit | 72351c3e68ec7574a578bd41f7a0b17578d857af (patch) | |
tree | 84f9dfe9627578aee454107602231168c950cc83 /Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | |
parent | f4c2f03b11aecc0d90f836edfd44da8bd24e1bd8 (diff) |
support libpoppler as 'system-xpdf'
git-svn-id: svn://tug.org/texlive/trunk@12943 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/pdftoepdf.cc')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc index 87684a39dc2..25f42ccbf58 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc +++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc @@ -18,17 +18,27 @@ with pdfTeX; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include <aconf.h> #include <stdlib.h> #include <math.h> #include <stddef.h> #include <stdio.h> #include <string.h> #include <ctype.h> + +#ifdef POPPLER_VERSION +#include <dirent.h> +#include <poppler-config.h> +#include <goo/GooString.h> +#include <goo/gmem.h> +#include <goo/gfile.h> +#define GString GooString +#else +#include <aconf.h> #include <GString.h> #include <gmem.h> #include <gfile.h> #include <assert.h> +#endif #include "Object.h" #include "Stream.h" #include "Array.h" |