aboutsummaryrefslogtreecommitdiffstats
path: root/main/cifs-utils/musl-fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-17 14:01:38 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-17 14:01:47 +0000
commit7e57a8a81d1ebb0be378f712c18e63f30c847145 (patch)
treed1575a8ce7cd43d7cba1e82a66d4b5a1d96f8558 /main/cifs-utils/musl-fix-includes.patch
parent5a0ee3f3638df8b48e67e89255d1ba413e566734 (diff)
downloadaports-7e57a8a81d1ebb0be378f712c18e63f30c847145.tar.bz2
aports-7e57a8a81d1ebb0be378f712c18e63f30c847145.tar.xz
main/cifs-utils: fix musl build
Diffstat (limited to 'main/cifs-utils/musl-fix-includes.patch')
-rw-r--r--main/cifs-utils/musl-fix-includes.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/cifs-utils/musl-fix-includes.patch b/main/cifs-utils/musl-fix-includes.patch
new file mode 100644
index 0000000000..c7b9b004f2
--- /dev/null
+++ b/main/cifs-utils/musl-fix-includes.patch
@@ -0,0 +1,11 @@
+--- cifs-utils-6.2.orig/mount.h
++++ cifs-utils-6.2/mount.h
+@@ -20,6 +20,8 @@
+ #ifndef _MOUNT_H_
+ #define _MOUNT_H_
+
++#include <paths.h>
++
+ /* exit status - bits below are ORed */
+ #define EX_USAGE 1 /* incorrect invocation or permission */
+ #define EX_SYSERR 2 /* out of memory, cannot fork, ... */