summaryrefslogtreecommitdiff
path: root/time/plan/patches/patch-ag
blob: 3e1723ed20457ccc18bf34563ca6d19e73e70022 (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 2006/01/02 22:29:03 joerg Exp $

--- file_w.c.orig	2006-01-02 22:20:56.000000000 +0000
+++ file_w.c
@@ -12,6 +12,7 @@
 #ifdef MIPS
 #include <sys/types.h>
 #include <sys/fcntl.h>
+#include <errno.h>
 #else
 #include <unistd.h>
 #include <fcntl.h>
@@ -23,7 +24,6 @@
 
 static BOOL writefile(struct plist *, char *, int, int);
 
-extern int		errno;
 extern char		*progname;		/* argv[0] */
 extern struct config	config;			/* global configuration data */
 extern struct plist	*mainlist;		/* all schedule entries */