Changeset View
Changeset View
Standalone View
Standalone View
head/games/falconseye/files/patch-include_system_h
--- include/system.h.orig Sun Jun 24 18:57:16 2001 | --- include/system.h.orig Sun Jun 24 18:57:16 2001 | ||||
+++ include/system.h Fri Aug 24 01:19:07 2001 | +++ include/system.h Fri Aug 24 01:19:07 2001 | ||||
@@ -78,7 +78,7 @@ | @@ -78,7 +78,7 @@ | ||||
E long NDECL(random); | E long NDECL(random); | ||||
# endif | # endif | ||||
# if !defined(SUNOS4) || defined(RANDOM) | # if !defined(SUNOS4) || defined(RANDOM) | ||||
-E void FDECL(srandom, (unsigned int)); | -E void FDECL(srandom, (unsigned int)); | ||||
+E void FDECL(srandom, (unsigned long)); | +#include <stdlib.h> /* srandom() differs between versions of FreeBSD. */ | ||||
# else | # else | ||||
# if !defined(bsdi) && !defined(__FreeBSD__) | # if !defined(bsdi) && !defined(__FreeBSD__) | ||||
E int FDECL(srandom, (unsigned int)); | E int FDECL(srandom, (unsigned int)); | ||||
@@ -513,11 +513,15 @@ | @@ -513,11 +513,15 @@ | ||||
# endif | # endif | ||||
# endif | # endif | ||||
+# if defined(BSD) | +# if defined(BSD) | ||||
Show All 11 Lines |