aboutsummaryrefslogtreecommitdiff
path: root/net/samba4/patches/010-samba-4-12-fix-musl_missing__nss_buflen_passwd.patch
blob: b0d08f5c8b5a171f294dee2d0014451b1cadb775 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/lib/util/util_paths.c
+++ b/lib/util/util_paths.c
@@ -28,6 +28,10 @@
 #include "system/passwd.h"
 #include "system/filesys.h"
 
+#if !defined(__GLIBC__) 
+	#define NSS_BUFLEN_PASSWD 1024
+#endif
+
 /**
  * @brief Returns an absolute path to a file in the Samba modules directory.
  *