1 diff --git source.old/client/mount.cifs.c source/client/mount.cifs.c
2 index 3b56e5f..b7a76c6 100644
3 --- source.old/client/mount.cifs.c
4 +++ source/client/mount.cifs.c
6 #endif /* _SAMBA_BUILD_ */
7 #endif /* MOUNT_CIFS_VENDOR_SUFFIX */
10 +#include "include/config.h"
16 @@ -94,6 +98,8 @@ char * prefixpath = NULL;
18 /* like strncpy but does not 0 fill the buffer and always null
19 * terminates. bufsize is the size of the destination buffer */
22 static size_t strlcpy(char *d, const char *s, size_t bufsize)
24 size_t len = strlen(s);
25 @@ -104,10 +110,13 @@ static size_t strlcpy(char *d, const char *s, size_t bufsize)
31 /* like strncat but does not 0 fill the buffer and always null
32 * terminates. bufsize is the length of the buffer, which should
33 * be one more than the maximum resulting string length */
36 static size_t strlcat(char *d, const char *s, size_t bufsize)
38 size_t len1 = strlen(d);
39 @@ -126,6 +135,7 @@ static size_t strlcat(char *d, const char *s, size_t bufsize)