summaryrefslogtreecommitdiff
path: root/chat/dircproxy-devel/patches/patch-ab
blob: 0a7073317b1e0984307f7a3854935dc2dcadb87a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.1.1.1 2005/04/03 14:18:02 adrianp 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"