From 1a3e88ca099bb066a61dcfd0711fdb3b3bfe3eb0 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Mon, 25 Jun 2012 10:51:44 -0400 Subject: [PATCH] Fix large file support for 32-bit Linux --- libqpdf/Pl_StdioFile.cc | 1 + libqpdf/QPDF.cc | 1 + libqpdf/QPDFWriter.cc | 1 + qpdf/test_large_file.cc | 6 ++++++ 4 files changed, 9 insertions(+), 0 deletions(-) diff --git a/libqpdf/Pl_StdioFile.cc b/libqpdf/Pl_StdioFile.cc index e87de10..bd56ac6 100644 --- a/libqpdf/Pl_StdioFile.cc +++ b/libqpdf/Pl_StdioFile.cc @@ -1,3 +1,4 @@ +#include // include first for large file support #include #include #include diff --git a/libqpdf/QPDF.cc b/libqpdf/QPDF.cc index 743ba93..b4bad4f 100644 --- a/libqpdf/QPDF.cc +++ b/libqpdf/QPDF.cc @@ -1,3 +1,4 @@ +#include // include first for large file support #include #include diff --git a/libqpdf/QPDFWriter.cc b/libqpdf/QPDFWriter.cc index 22d0b6e..564133e 100644 --- a/libqpdf/QPDFWriter.cc +++ b/libqpdf/QPDFWriter.cc @@ -1,3 +1,4 @@ +#include // include first for large file support #include #include diff --git a/qpdf/test_large_file.cc b/qpdf/test_large_file.cc index c1ee406..880877f 100644 --- a/qpdf/test_large_file.cc +++ b/qpdf/test_large_file.cc @@ -1,3 +1,9 @@ +// NOTE: This test program doesn't do anything special to enable large +// file support. This is important since it verifies that programs +// don't have to do anything special -- all the work is done +// internally by the library as long as they don't do their own file +// I/O. + #include #include #include -- libgit2 0.21.4