openbsd-ports/games/falconseye/patches/patch-include_system_h
espie c040d15127 Falcon's Eye is nethack on steroids: graphics and sound.
Preliminary port by Peter Valchev and me. A few details to fix,
such as having SDL sound AND using timidity concurrently...
2001-07-05 13:29:01 +00:00

20 lines
645 B
Plaintext

$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> */