From b856379370809cca68cb97b737284ade2c44765c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Wed, 20 Jun 2012 10:54:07 -0400 Subject: Portability issues: off_t, unlink New header qpdf/Types.h attempts to make sure size_t and off_t are defined on any platform and in a way that would work with large file support. Additionally, missing header files are included to get unlink. --- examples/pdf-mod-info.cc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'examples/pdf-mod-info.cc') diff --git a/examples/pdf-mod-info.cc b/examples/pdf-mod-info.cc index ef5a280d..84cc8415 100644 --- a/examples/pdf-mod-info.cc +++ b/examples/pdf-mod-info.cc @@ -8,6 +8,13 @@ #include #include #include +#ifdef _WIN32 +#include +#include +#include +#else +#include +#endif static char const* version = "1.1"; static char const* whoami = 0; -- cgit v1.2.3-54-g00ecf