summaryrefslogtreecommitdiff
path: root/chat/dircproxy/patches/patch-ab
blob: 1c4a7cde3f8c744ca7eff1bbb91c980611293314 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.1 2005/03/10 13:31:05 tv Exp $

--- src/irc_net.h.orig	2002-02-06 05:07:42.000000000 -0500
+++ src/irc_net.h
@@ -21,6 +21,10 @@
 #include <arpa/inet.h>
 #include <time.h>
 
+#ifndef INADDR_LOOPBACK
+#define INADDR_LOOPBACK inet_addr("127.0.0.1")
+#endif
+
 #include "irc_prot.h"
 #include "stringex.h"