20 lines
641 B
Plaintext
20 lines
641 B
Plaintext
$OpenBSD: patch-include_system_h,v 1.2 2002/03/23 14:51:46 espie Exp $
|
|
--- include/system.h.orig Wed Mar 20 18:42:55 2002
|
|
+++ include/system.h Fri Mar 22 08:11:35 2002
|
|
@@ -521,11 +521,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> */
|