diff options
author | glewis <glewis@FreeBSD.org> | 2003-03-01 01:16:21 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2003-03-01 01:16:21 +0800 |
commit | c076e028ad52f1a5547e7e7b35609b8aec6d8189 (patch) | |
tree | fa84709bb090a5d2edcace2ce25ff9a3cda394a6 /java | |
parent | cca79bfff3015311dfcaed6d8c516d1253949d46 (diff) | |
download | freebsd-ports-graphics-c076e028ad52f1a5547e7e7b35609b8aec6d8189.tar.gz freebsd-ports-graphics-c076e028ad52f1a5547e7e7b35609b8aec6d8189.tar.zst freebsd-ports-graphics-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')
-rw-r--r-- | java/jdk13/files/patch-threads_md.c | 12 | ||||
-rw-r--r-- | java/jdk14/files/patch-threads_md.c | 12 | ||||
-rw-r--r-- | java/jdk15/files/patch-threads_md.c | 12 | ||||
-rw-r--r-- | java/jdk16/files/patch-threads_md.c | 12 |
4 files changed, 48 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 00000000000..d29f1c864ec --- /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__
diff --git a/java/jdk14/files/patch-threads_md.c b/java/jdk14/files/patch-threads_md.c new file mode 100644 index 00000000000..d29f1c864ec --- /dev/null +++ b/java/jdk14/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__
diff --git a/java/jdk15/files/patch-threads_md.c b/java/jdk15/files/patch-threads_md.c new file mode 100644 index 00000000000..d29f1c864ec --- /dev/null +++ b/java/jdk15/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__
diff --git a/java/jdk16/files/patch-threads_md.c b/java/jdk16/files/patch-threads_md.c new file mode 100644 index 00000000000..d29f1c864ec --- /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__
|