$OpenBSD: patch-imap_fud_c,v 1.1 2017/05/28 15:46:11 ajacoutot Exp $

Index: imap/fud.c
--- imap/fud.c.orig
+++ imap/fud.c
@@ -96,7 +96,9 @@ static void send_reply(struct sockaddr *sfrom, socklen
 
 static int soc = 0; /* inetd (master) has handed us the port as stdin */
 
+#ifndef MAXDOMNAME
 #define MAXLOGNAME 16           /* should find out for real */
+#endif
 #define MAXDOMNAME 20           /* should find out for real */
 
 static int begin_handling(void)
