20 lines
600 B
Text
20 lines
600 B
Text
$NetBSD: patch-ag,v 1.1 2005/12/15 23:02:33 joerg Exp $
|
|
|
|
--- dcc.c.orig 2005-12-15 22:55:23.000000000 +0000
|
|
+++ dcc.c
|
|
@@ -70,6 +70,7 @@ static char rcsid[] = "$Id: dcc.c,v 1.43
|
|
#ifdef HAVE_CTYPE_H
|
|
#include <ctype.h>
|
|
#endif
|
|
+#include <errno.h>
|
|
|
|
#define CHLD_WAIT4KILL { pause(); _exit(1); }
|
|
#define TIMESTAMP (is_away || check_conf(CONF_STAMP)) ? timestamp() : ""
|
|
@@ -128,7 +129,6 @@ static void dcc_age __P((void));
|
|
static int dcc_shmprobe __P((void));
|
|
|
|
extern char ppre[], **argv0;
|
|
-extern int errno;
|
|
extern int is_away;
|
|
extern FILE *lastlog;
|
|
extern char lastmsg[MSGNAMEHIST][NICKSZ+2];
|