summaryrefslogtreecommitdiff
path: root/Build/source/libs/xpdf/goo/gfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/xpdf/goo/gfile.h')
-rw-r--r--Build/source/libs/xpdf/goo/gfile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/libs/xpdf/goo/gfile.h b/Build/source/libs/xpdf/goo/gfile.h
index 82f1d7a98e3..8817e8b2381 100644
--- a/Build/source/libs/xpdf/goo/gfile.h
+++ b/Build/source/libs/xpdf/goo/gfile.h
@@ -46,6 +46,9 @@
# endif
# endif
#endif
+#if defined(__DJGPP__)
+typedef unsigned int time_t;
+#endif
#include "gtypes.h"
class GString;
@@ -83,7 +86,9 @@ extern time_t getModTime(char *fileName);
// should be done to the returned file pointer; the file may be
// reopened later for reading, but not for writing. The <mode> string
// should be "w" or "wb". Returns true on success.
+#ifndef PDF_PARSER_ONLY
extern GBool openTempFile(GString **name, FILE **f, char *mode, char *ext);
+#endif
// Execute <command>. Returns true on success.
extern GBool executeCommand(char *cmd);