summaryrefslogtreecommitdiff
path: root/games/nethack34/files/patch-ab
blob: 3fdb7858ad1af497baa1cff51eaaf8cb2a65b137 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./include/system.h.orig	Sat Dec 11 00:20:51 1999
+++ ./include/system.h	Sun Dec 12 20:44:40 1999
@@ -80,7 +80,7 @@
 # if !defined(SUNOS4) || defined(RANDOM)
 E void FDECL(srandom, (unsigned int));
 # else
-#  ifndef bsdi
+#  if !defined(bsdi) && !defined(__FreeBSD__)
 E int FDECL(srandom, (unsigned int));
 #  endif
 # endif
@@ -516,7 +516,7 @@
 # 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 *));
+E time_t FDECL(time, (time_t *));
 # endif /* ULTRIX */
 
 #ifdef VMS