1d19ec73c0739cccc5b6c88e3f8fb7941479a7ab
[feed/packages.git] / net / samba4 / patches / 010-samba-4-12-fix-musl_missing__nss_buflen_passwd.patch
1 --- a/lib/util/util_paths.c 2020-07-03
2 +++ b/lib/util/util_paths.c 2020-07-03
3 @@ -26,6 +26,9 @@
4 #include "dynconfig/dynconfig.h"
5 #include "lib/util/util_paths.h"
6 #include "system/passwd.h"
7 +#if !defined(__GLIBC__)
8 + #define NSS_BUFLEN_PASSWD 1024
9 +#endif
10
11 /**
12 * @brief Returns an absolute path to a file in the Samba modules directory.