aboutsummaryrefslogtreecommitdiff
path: root/lib/libarchive
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2009-12-28 03:31:29 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2009-12-28 03:31:29 +0000
commite15da0400aff656aee270c1802167509e70a016c (patch)
treeb8d6549f617484855141f7887fdb947986d40102 /lib/libarchive
parent456bd00333fb56957369ea8b1e975961ad8e0f5c (diff)
downloadsrc-e15da0400aff656aee270c1802167509e70a016c.tar.gz
src-e15da0400aff656aee270c1802167509e70a016c.zip
Clarify an example so Linux folks won't keep getting confused by this point.
Notes
Notes: svn path=/head/; revision=201110
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/archive_write.33
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libarchive/archive_write.3 b/lib/libarchive/archive_write.3
index 8228903dc176..7c33a74ff8f3 100644
--- a/lib/libarchive/archive_write.3
+++ b/lib/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 <sys/stat.h>
#include <archive.h>
#include <archive_entry.h>