summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-06-09 13:48:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-06-09 13:48:00 +0000
commit35d703c8a654ffe64bd5b295895c458f16a4868b (patch)
tree1fd66a0d4260babf94d71155333ff5144755d121
parent24662e61228a774ae756054aee41997ad3617e12 (diff)
downloadmtk-20170518-35d703c8a654ffe64bd5b295895c458f16a4868b.zip
mtk-20170518-35d703c8a654ffe64bd5b295895c458f16a4868b.tar.gz
mtk-20170518-35d703c8a654ffe64bd5b295895c458f16a4868b.tar.bz2
mountd: remove a bogus include to fix compile with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41062
-rw-r--r--package/system/mountd/patches/050-no_error_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/system/mountd/patches/050-no_error_h.patch b/package/system/mountd/patches/050-no_error_h.patch
new file mode 100644
index 0000000..16a75f0
--- /dev/null
+++ b/package/system/mountd/patches/050-no_error_h.patch
@@ -0,0 +1,10 @@
+--- a/lib/fs.c
++++ b/lib/fs.c
+@@ -2,7 +2,6 @@
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <error.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>