NS_MAXMSG is not defined.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 732b1c4c0e
)
13 lines
314 B
Diff
13 lines
314 B
Diff
--- a/support/nfsidmap/libnfsidmap.c
|
|
+++ b/support/nfsidmap/libnfsidmap.c
|
|
@@ -89,6 +89,10 @@ gid_t nobody_gid = (gid_t)-1;
|
|
#define NFS4DNSTXTREC "_nfsv4idmapdomain"
|
|
#endif
|
|
|
|
+#ifndef NS_MAXMSG
|
|
+#define NS_MAXMSG 65535
|
|
+#endif
|
|
+
|
|
/* Default logging fuction */
|
|
static void default_logger(const char *fmt, ...)
|
|
{
|