summaryrefslogtreecommitdiffstats
path: root/base/libxml2/largefile64.patch
diff options
context:
space:
mode:
Diffstat (limited to 'base/libxml2/largefile64.patch')
-rw-r--r--base/libxml2/largefile64.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/base/libxml2/largefile64.patch b/base/libxml2/largefile64.patch
new file mode 100644
index 000000000..29be82760
--- /dev/null
+++ b/base/libxml2/largefile64.patch
@@ -0,0 +1,12 @@
+--- libxml2-2.6.32.dfsg.orig/libxml.h
++++ libxml2-2.6.32.dfsg/libxml.h
+@@ -13,6 +13,9 @@
+ #ifndef _LARGEFILE_SOURCE
+ #define _LARGEFILE_SOURCE
+ #endif
++#ifndef _LARGEFILE64_SOURCE
++#define _LARGEFILE64_SOURCE
++#endif
+ #ifndef _FILE_OFFSET_BITS
+ #define _FILE_OFFSET_BITS 64
+ #endif