$NetBSD: patch-ab,v 1.2 2008/06/17 12:53:54 tron Exp $ --- src/irc_net.h.orig 2006-02-18 22:39:32.000000000 +0000 +++ src/irc_net.h @@ -23,6 +23,10 @@ #include #include +#ifndef INADDR_LOOPBACK +#define INADDR_LOOPBACK inet_addr("127.0.0.1") +#endif + #include "irc_prot.h" #include "stringex.h" #include "net.h"