summaryrefslogtreecommitdiffstats
path: root/net/nfs-kernel-server/patches/102-uclibc-ns-maxmsg.patch
blob: 98d77250dd4fa233ef8dfe51230d6f4c4ad5d63b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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, ...)
 {