summaryrefslogtreecommitdiff
path: root/chat/tirc/patches/patch-ac
blob: 02360208ce792df60347973a6064bbfadb379715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.1 2005/12/15 23:02:33 joerg Exp $

--- cmd.c.orig	2005-12-15 22:52:43.000000000 +0000
+++ cmd.c
@@ -14,6 +14,7 @@ static char rcsid[] = "$Id: cmd.c,v 1.65
 
 #include "tirc.h"
 
+#include <errno.h>
 #ifdef	HAVE_CTYPE_H
 #include <ctype.h>
 #endif
@@ -118,7 +119,6 @@ extern char	ppre[], nick[];
 extern int	sock, debugwin;
 extern int	on_irc;
 extern FILE	*lastlog;
-extern int	errno;
 
 struct cmdtbl {
 	const char	*c_name;