$NetBSD: patch-ab,v 1.1.1.1 2001/07/18 14:27:31 nra Exp $

--- dtime.c.orig	Sat Sep 14 07:15:25 1991
+++ dtime.c
@@ -26,13 +26,17 @@
 #include <sys/timeb.h>
 #endif /*SYS5*/
 
+#include <sys/param.h>
+
+#if !(defined(BSD) && (BSD >= 199306))
 extern long time();
 struct tm* localtime();
+#endif
 
 struct tws*
 dtwstime()
     {
-    long clock;
+    time_t clock;
 
     (void) time( &clock );
     return dlocaltime( &clock );
