$OpenBSD: patch-include_system_h,v 1.1.1.1 2001/07/04 11:14:54 espie Exp $
--- include/system.h.orig	Wed May  2 01:07:19 2001
+++ include/system.h	Tue Jul  3 18:58:55 2001
@@ -517,6 +517,9 @@ E struct tm *FDECL(localtime, (const tim
 #  endif
 # endif
 
+#if defined(BSD)
+/* no declaration needed; it's in time.h */
+#else
 # if defined(ULTRIX) || defined(SYSV) || defined(MICRO) || defined(VMS) || defined(MAC) || (defined(HPUX) && defined(_POSIX_SOURCE))
 #  ifndef       __WATCOMC__
 E time_t FDECL(time, (time_t *));
@@ -524,6 +527,7 @@ E time_t FDECL(time, (time_t *));
 # else
 E long FDECL(time, (time_t *));
 # endif /* ULTRIX */
+#endif
 
 #ifdef VMS
 	/* used in makedefs.c, but missing from gcc-vms's <time.h> */
