summaryrefslogtreecommitdiff
path: root/japanese/nethack34/files/patch-include-system.h
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/nethack34/files/patch-include-system.h')
-rw-r--r--japanese/nethack34/files/patch-include-system.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/japanese/nethack34/files/patch-include-system.h b/japanese/nethack34/files/patch-include-system.h
new file mode 100644
index 000000000000..9c0bce6a7791
--- /dev/null
+++ b/japanese/nethack34/files/patch-include-system.h
@@ -0,0 +1,13 @@
+--- include/system.h.orig 2014-08-28 14:59:56.000000000 +0900
++++ include/system.h 2014-08-28 15:15:45.000000000 +0900
+@@ -79,7 +79,9 @@
+ # if !defined(__SC__) && !defined(LINUX)
+ E long NDECL(random);
+ # endif
+-# if (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM)
++# if defined(__FreeBSD__)
++E void FDECL(srandom, (unsigned long));
++# elif (!defined(SUNOS4) && !defined(bsdi) && !defined(__FreeBSD__)) || defined(RANDOM)
+ E void FDECL(srandom, (unsigned int));
+ # else
+ # if !defined(bsdi) && !defined(__FreeBSD__)