diff options
author | joerg <joerg@pkgsrc.org> | 2005-12-15 23:02:33 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2005-12-15 23:02:33 +0000 |
commit | a4e59c1c31b39957a1984856192e5b697d4f56ab (patch) | |
tree | dcae539f33ad74e70a5637e086f25f5a4c872fd0 /chat/tirc/patches/patch-ac | |
parent | a9f7f4d174a4ccd033e68859aabc407beee009b0 (diff) | |
download | pkgsrc-a4e59c1c31b39957a1984856192e5b697d4f56ab.tar.gz |
Fix errno, don't add more #if cancer.
Diffstat (limited to 'chat/tirc/patches/patch-ac')
-rw-r--r-- | chat/tirc/patches/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chat/tirc/patches/patch-ac b/chat/tirc/patches/patch-ac new file mode 100644 index 00000000000..02360208ce7 --- /dev/null +++ b/chat/tirc/patches/patch-ac @@ -0,0 +1,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; |