$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 #endif /*SYS5*/ +#include + +#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 );