blob: 79458720ccf88b1d605be29ea9b276b42b836b7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$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];
|