$NetBSD: patch-ab,v 1.1.1.1 2002/09/15 06:03:04 rh Exp $

--- smproxy/smproxy.c.orig	Sun Aug 11 15:56:26 2002
+++ smproxy/smproxy.c
@@ -36,6 +36,10 @@ Author:  Ralph Mor, X Consortium
 #include <unistd.h>
 #include <netdb.h>
 
+#ifndef MAXHOSTNAMELEN
+#define MAXHOSTNAMELEN (1024+1)
+#endif
+
 #if !defined (NI_MAXHOST)
 #define NI_MAXHOST MAXHOSTNAMELEN
 #endif
