summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-12-28 03:31:29 +0000
committerkientzle <kientzle@FreeBSD.org>2009-12-28 03:31:29 +0000
commit36429d6a2744839eecf3a3aa77ed373a90d77da8 (patch)
treeb8d6549f617484855141f7887fdb947986d40102 /lib/libarchive
parent751833b2d36c7bff10c193dae6d2a8f54c55a39e (diff)
downloadFreeBSD-src-36429d6a2744839eecf3a3aa77ed373a90d77da8.zip
FreeBSD-src-36429d6a2744839eecf3a3aa77ed373a90d77da8.tar.gz
Clarify an example so Linux folks won't keep getting confused by this point.
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 8228903..7c33a74 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>
OpenPOWER on IntegriCloud