summaryrefslogtreecommitdiffstats
path: root/games/nethack33/files/patch-system.h
blob: dd0e4d238ffd2267b61cac1f1a3452b2861e06b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$FreeBSD$

--- include/system.h.orig	Mon Apr 19 23:27:53 2004
+++ include/system.h	Mon Apr 19 23:31:54 2004
@@ -86,7 +86,7 @@
 # endif
 #else
 E long lrand48();
-E void srand48();
+E void FDECL(srand48, (long));
 #endif /* BSD || ULTRIX || RANDOM */
 
 #if !defined(BSD) || defined(ultrix)
@@ -340,10 +340,10 @@
 #if defined(BSD) && defined(ultrix)	/* i.e., old versions of Ultrix */
 E void sleep();
 #endif
-#if defined(ULTRIX) || defined(SYSV)
+#if !defined(__FreeBSD__) && (defined(ULTRIX) || defined(SYSV))
 E unsigned sleep();
 #endif
-#if defined(HPUX)
+#if defined(HPUX) || defined(__FreeBSD__)
 E unsigned int FDECL(sleep, (unsigned int));
 #endif
 #ifdef VMS
OpenPOWER on IntegriCloud