$OpenBSD: patch-imap_fud_c,v 1.2 2020/08/28 09:53:04 ajacoutot Exp $

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