packages/net/samba4/patches/010-samba-4-12-fix-musl_missing__nss_buflen_passwd.patch

13 lines
344 B
Diff
Raw Normal View History

--- a/lib/util/util_paths.c 2020-07-03
+++ b/lib/util/util_paths.c 2020-07-03
@@ -26,6 +26,9 @@
#include "dynconfig/dynconfig.h"
#include "lib/util/util_paths.h"
#include "system/passwd.h"
+#if !defined(__GLIBC__)
+ #define NSS_BUFLEN_PASSWD 1024
+#endif
/**
* @brief Returns an absolute path to a file in the Samba modules directory.