summaryrefslogtreecommitdiff
path: root/chat/dircproxy/patches/patch-ab
blob: a356d91dbc814745aa7a10d9d57bb946f6191bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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 <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"
 #include "net.h"