nfsidmap: define NS_MAXMSG if undefined
Subsystems (2)
PATCH 1/1 nfsidmap: define NS_MAXMSG if undefined
uClibc-ng does not define it.
Signed-off-by Rosen Penev <[email protected]>
--- support/nfsidmap/libnfsidmap.c | 4 ++++ 1 file changed, 4 insertions(+)
support/nfsidmap/libnfsidmap.c +4 -0
@@ -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, ...) {
Signature · 1 line
2.25.1
Quoted 3 lines · Rosen Penev
uClibc-ng does not define it.
Signed-off-by Rosen Penev <[email protected]>
Committed... (tag: nfs-utils-2-4-4-rc3)
steved.
Quoted 20 lines
--- support/nfsidmap/libnfsidmap.c | 4 ++++ 1 file changed, 4 insertions(+)support/nfsidmap/libnfsidmap.c +4
-0@@ -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, ...) {