summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--goo/gfile.h3
-rw-r--r--goo/gtypes.h1
-rw-r--r--poppler/Error.h2
3 files changed, 4 insertions, 2 deletions
diff --git a/goo/gfile.h b/goo/gfile.h
index daf99dca..2bbf98d2 100644
--- a/goo/gfile.h
+++ b/goo/gfile.h
@@ -80,6 +80,9 @@ extern "C" {
class GooString;
+/* Integer type for all file offsets and file sizes */
+typedef long long Goffset;
+
//------------------------------------------------------------------------
// Append a file name to a path string. <path> may be an empty
diff --git a/goo/gtypes.h b/goo/gtypes.h
index 922cf905..10fdf82d 100644
--- a/goo/gtypes.h
+++ b/goo/gtypes.h
@@ -35,6 +35,5 @@ typedef unsigned char Guchar;
typedef unsigned short Gushort;
typedef unsigned int Guint;
typedef unsigned long Gulong;
-typedef long long Goffset;
#endif
diff --git a/poppler/Error.h b/poppler/Error.h
index 50c91100..a1c8ee96 100644
--- a/poppler/Error.h
+++ b/poppler/Error.h
@@ -29,7 +29,7 @@
#include <stdarg.h>
#include "poppler-config.h"
-#include "goo/gtypes.h"
+#include "goo/gfile.h"
#include "goo/GooString.h"
enum ErrorCategory {