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

--- main.c.orig	2005-12-15 22:49:50.000000000 +0000
+++ main.c
@@ -63,6 +63,7 @@ static char rcsid[] = "$Old: main.c,v 1.
 #ifdef	HAVE_CTYPE_H
 #include <ctype.h>
 #endif
+#include <errno.h>
 
 #include "compat.h"
 #include "tty.h"
@@ -80,7 +81,6 @@ void		sigtstp __P((int));
 void		sigchld __P((int));
 void		sigalrm __P((int));
 
-extern int	errno;
 extern int	on_irc;
 extern int	restart_irc;
 extern char	ppre[], version[];