aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk13
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2003-03-01 01:16:21 +0800
committerglewis <glewis@FreeBSD.org>2003-03-01 01:16:21 +0800
commitc076e028ad52f1a5547e7e7b35609b8aec6d8189 (patch)
treefa84709bb090a5d2edcace2ce25ff9a3cda394a6 /java/jdk13
parentcca79bfff3015311dfcaed6d8c516d1253949d46 (diff)
downloadfreebsd-ports-gnome-c076e028ad52f1a5547e7e7b35609b8aec6d8189.tar.gz
freebsd-ports-gnome-c076e028ad52f1a5547e7e7b35609b8aec6d8189.tar.zst
freebsd-ports-gnome-c076e028ad52f1a5547e7e7b35609b8aec6d8189.zip
. Add missing include of <sys/time.h>, needed by <sys/resource.h> for
FreeBSD 5.x. This fixes native threads compilation on FreeBSD 5.x. Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
Diffstat (limited to 'java/jdk13')
-rw-r--r--java/jdk13/files/patch-threads_md.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-threads_md.c b/java/jdk13/files/patch-threads_md.c
new file mode 100644
index 000000000000..d29f1c864ecb
--- /dev/null
+++ b/java/jdk13/files/patch-threads_md.c
@@ -0,0 +1,12 @@
+$FreeBSD$
+
+--- ../src/solaris/hpi/native_threads/src/threads_md.c 21 Nov 2001 04:02:04 -0000 1.4
++++ ../src/solaris/hpi/native_threads/src/threads_md.c 24 Feb 2003 03:17:30 -0000
+@@ -23,6 +23,7 @@
+ #include <setjmp.h>
+ #include <signal.h>
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/signal.h>
+ #include <sys/resource.h>
+ #ifdef __FreeBSD__