summaryrefslogtreecommitdiff
path: root/java/jdk16
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-02-28 17:16:21 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-02-28 17:16:21 +0000
commitda2705604461797c4a18b496f6f815e8a14f7a38 (patch)
treeda281094d21622774cb8ffe3384721bb973e1399 /java/jdk16
parentAdd missed patch. (diff)
. 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>
Notes
Notes: svn path=/head/; revision=76655
Diffstat (limited to 'java/jdk16')
-rw-r--r--java/jdk16/files/patch-threads_md.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-threads_md.c b/java/jdk16/files/patch-threads_md.c
new file mode 100644
index 000000000000..d29f1c864ecb
--- /dev/null
+++ b/java/jdk16/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__