$OpenBSD: patch-include_system_h,v 1.1.1.1 2001/07/05 13:29:05 espie Exp $
--- include/system.h.orig	Sun Jun 24 18:57:16 2001
+++ include/system.h	Wed Jul  4 11:23:29 2001
@@ -513,11 +513,15 @@ 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))
 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> */
