diff options
Diffstat (limited to 'main/samba/samba-uclibc-fstab.patch')
-rw-r--r-- | main/samba/samba-uclibc-fstab.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/main/samba/samba-uclibc-fstab.patch b/main/samba/samba-uclibc-fstab.patch new file mode 100644 index 0000000000..3fdbc90308 --- /dev/null +++ b/main/samba/samba-uclibc-fstab.patch @@ -0,0 +1,15 @@ +--- ./client/mount.cifs.c.orig ++++ ./client/mount.cifs.c +@@ -39,7 +39,11 @@ + #include <mntent.h> + #include <fcntl.h> + #include <limits.h> +-#include <fstab.h> ++#if defined(__UCLIBC__) ++ #define _PATH_FSTAB "/etc/fstab" ++#else ++ #include <fstab.h> ++#endif + #include "mount.h" + + #define MOUNT_CIFS_VERSION_MAJOR "1" |