$OpenBSD: patch-include_system_h,v 1.2 2014/11/18 11:18:54 brad Exp $
--- include/system.h.orig	Sun Jun 24 18:57:16 2001
+++ include/system.h	Tue Nov 18 05:30:52 2014
@@ -513,11 +513,15 @@ E struct tm *FDECL(localtime, (const time_t *));
 #  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> */
