29 lines
856 B
Text
29 lines
856 B
Text
$NetBSD: patch-ca,v 1.1 2006/01/24 19:01:45 joerg Exp $
|
|
|
|
--- utils/newmail.c.orig 2006-01-24 17:45:56.000000000 +0000
|
|
+++ utils/newmail.c
|
|
@@ -61,6 +61,7 @@ static char rcsid[] = "@(#)$Id: newmail.
|
|
|
|
DEBUG_VAR(Debug,__FILE__,"util");
|
|
|
|
+#include <errno.h>
|
|
#ifdef PWDINSYS
|
|
# include <sys/pwd.h>
|
|
#else
|
|
@@ -141,8 +142,6 @@ int interval_time, /* how long to slee
|
|
int parent_pid; /* See if sucide should be attempt */
|
|
#endif /* PIDCHECK */
|
|
|
|
-extern int errno;
|
|
-
|
|
#if defined(BSD_TYPE) && !defined(UTIMBUF)
|
|
time_t utime_buffer[2]; /* utime command */
|
|
|
|
@@ -780,7 +779,6 @@ static void save_acc(name)
|
|
/** return the number of bytes in the specified file. This
|
|
is to check to see if new mail has arrived.... **/
|
|
|
|
- extern int errno; /* system error number! */
|
|
struct stat buffer;
|
|
|
|
if (stat(name, &buffer) != 0)
|