2013-09-26 17:14:40 +02:00

16 lines
344 B
Plaintext

$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"