$NetBSD: patch-by,v 1.1 2006/01/04 20:35:08 joerg Exp $

- use standard headers
- don't declare own errno

--- lib-src/timer.c.orig	1995-02-17 07:47:36.000000000 +0000
+++ lib-src/timer.c
@@ -12,7 +12,9 @@
    esr@snark.thyrsus.com, Aug 7 1992.  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <signal.h>
+#include <time.h>
 #include <errno.h>
 #include <sys/types.h>  /* time_t */
 
@@ -33,12 +35,7 @@
 #endif
 
 
-extern int errno;
 extern char *strerror ();
-#ifndef OSF1
-extern char *malloc ();
-#endif
-extern time_t time ();
 
 /*
  * The field separator for input.  This character shouldn't occur in dates,
