aboutsummaryrefslogtreecommitdiff
path: root/archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h')
-rw-r--r--archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h b/archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h
new file mode 100644
index 000000000000..38ab031e533b
--- /dev/null
+++ b/archivers/py-lzma/files/patch-src_compat_LzmaCompatDecode.h
@@ -0,0 +1,17 @@
+--- src/compat/LzmaCompatDecode.h.orig 2016-07-26 12:20:39 UTC
++++ src/compat/LzmaCompatDecode.h
+@@ -39,14 +39,6 @@ extern "C" {
+ # define LZMACALL
+ #endif
+
+-#ifndef malloc
+-# ifdef __APPLE__
+-#include <malloc/malloc.h>
+-# else
+-#include <malloc.h>
+-# endif
+-#endif
+-
+ #ifndef UInt32
+ #ifdef _LZMA_UINT32_IS_ULONG
+ #define UInt32 unsigned long