summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/librpcsvc/nlm_prot.x7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/librpcsvc/nlm_prot.x b/lib/librpcsvc/nlm_prot.x
index 2031fd491ed..9627e598a29 100644
--- a/lib/librpcsvc/nlm_prot.x
+++ b/lib/librpcsvc/nlm_prot.x
@@ -1,4 +1,9 @@
-/* $OpenBSD: nlm_prot.x,v 1.6 2008/06/13 23:49:25 deraadt Exp $ */
+/* $OpenBSD: nlm_prot.x,v 1.7 2008/06/14 01:10:43 deraadt Exp $ */
+
+#ifdef RPC_HDR
+%#define LM_MAXSTRLEN 1024
+%#define MAXNAMELEN LM_MAXSTRLEN+1
+#endif
enum nlm_stats {
nlm_granted = 0,