summaryrefslogtreecommitdiff
path: root/package/e2fsprogs
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-09-22 23:34:54 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-09-22 23:34:54 +0000
commit5e8fd64cb2b7324e2866e6498535f29814535970 (patch)
tree6e9b5707668c031859756aad9d70dab0d9a24fbd /package/e2fsprogs
parent999252dccc09ff43bfac6c7b5d63613406149ea2 (diff)
downloadmtk-20170518-5e8fd64cb2b7324e2866e6498535f29814535970.zip
mtk-20170518-5e8fd64cb2b7324e2866e6498535f29814535970.tar.gz
mtk-20170518-5e8fd64cb2b7324e2866e6498535f29814535970.tar.bz2
e2fsprogs: drop an unnecessary include that breaks on mac os x
SVN-Revision: 33517
Diffstat (limited to 'package/e2fsprogs')
-rw-r--r--package/e2fsprogs/patches/002-no_malloc_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/e2fsprogs/patches/002-no_malloc_h.patch b/package/e2fsprogs/patches/002-no_malloc_h.patch
new file mode 100644
index 0000000..209b47c
--- /dev/null
+++ b/package/e2fsprogs/patches/002-no_malloc_h.patch
@@ -0,0 +1,10 @@
+--- a/util/symlinks.c
++++ b/util/symlinks.c
+@@ -8,7 +8,6 @@
+ #endif
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <fcntl.h>
+ #include <sys/param.h>