aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba/samba-uclibc-fstab.patch
blob: 3fdbc903082c1421bd90d0e2352dbf2a5f059e96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"