From: Tim Kientzle Date: Mon, 12 Oct 2009 00:26:08 +0000 (-0400) Subject: On Linux, the example code requires _FILE_OFFSET_BITS. X-Git-Tag: v2.8.0~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13e56fb4a7176f277fb29b19006642ea71774c56;p=thirdparty%2Flibarchive.git On Linux, the example code requires _FILE_OFFSET_BITS. SVN-Revision: 1507 --- diff --git a/libarchive/archive_write.3 b/libarchive/archive_write.3 index 9f42b9353..d8462ce26 100644 --- a/libarchive/archive_write.3 +++ b/libarchive/archive_write.3 @@ -453,6 +453,9 @@ and .Xr close 2 system calls. .Bd -literal -offset indent +#ifdef __linux__ +#define _FILE_OFFSET_BITS 64 +#endif #include #include #include