$OpenBSD: patch-include_system_h,v 1.2 2008/01/26 19:07:40 espie Exp $
--- include/system.h.orig	Sun Dec 30 13:56:29 2007
+++ include/system.h	Sun Dec 30 13:56:29 2007
@@ -511,6 +511,9 @@ 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)
 #  ifndef       __WATCOMC__
 E time_t FDECL(time, (time_t *));
@@ -518,6 +521,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> */
