diff options
author | glewis <glewis@FreeBSD.org> | 2002-06-11 19:03:47 +0000 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2002-06-11 19:03:47 +0000 |
commit | 96fe3ab9f458c5b3269389ee641b66577419c6f3 (patch) | |
tree | 6196a68f282fce238a9cf50349e18f204b99b732 /java/jdk16 | |
parent | f415cbef30abce1d1975876708bf7d9f404c37b0 (diff) | |
download | FreeBSD-ports-96fe3ab9f458c5b3269389ee641b66577419c6f3.zip FreeBSD-ports-96fe3ab9f458c5b3269389ee641b66577419c6f3.tar.gz |
. Fix compilation on FreeBSD 4.2 by including <sys/param.h>
PR: 36871
. Fix compilation on -CURRENT using gcc 3.1 by including <string.h>
(for strlen(3))
Reported and tested by: John Angelmo <john@veidit.net>
Reviewed by: sobomax
Approved by: sobomax
Diffstat (limited to 'java/jdk16')
-rw-r--r-- | java/jdk16/files/patch-utils.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-utils.c b/java/jdk16/files/patch-utils.c new file mode 100644 index 0000000..75f4b0b --- /dev/null +++ b/java/jdk16/files/patch-utils.c @@ -0,0 +1,20 @@ +$FreeBSD$ + +--- ../ext/plugin/oji-plugin/src/motif/common/utils.c 25 Aug 2001 17:48:42 -0000 1.2 ++++ ../ext/plugin/oji-plugin/src/motif/common/utils.c 10 Jun 2002 20:27:38 -0000 +@@ -10,6 +10,7 @@ + #include <sys/time.h> + #include <sys/types.h> + #ifndef SVR4 ++#include <sys/param.h> + #include <sys/uio.h> + #endif + #include <fcntl.h> +@@ -17,6 +18,7 @@ + #include <locale.h> + #include <errno.h> + #include <strings.h> ++#include <string.h> + #include <dlfcn.h> + #include "plugin_defs.h" + #include "pluginversion.h" |