summaryrefslogtreecommitdiff
path: root/time/plan/patches/patch-ae
blob: 0973db9a8428b05dd7f178ea1b481a491a2b7983 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ae,v 1.2 2006/01/02 22:29:03 joerg Exp $

--- g_dbfile.c.orig	1998-12-24 11:04:41.000000000 +0000
+++ g_dbfile.c
@@ -6,6 +6,7 @@
  */
 
 #include <X11/Xos.h>
+#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>
@@ -34,7 +35,6 @@
 #define R_SEP	'\n'			/* row (card) separator */
 #define ESC	'\\'			/* treat next char literally */
 
-extern int	errno;
 extern char	*progname;		/* argv[0] */
 extern Widget	toplevel;		/* top-level shell for icon name */