diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-05-30 22:23:14 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-05-30 22:23:14 +0000 |
commit | 2dbcf6c24b406d5cb8f3f0c76a7e2b74bf1ccc9f (patch) | |
tree | 5bb17761b2a6416567018f5b16981aa50eace789 | |
parent | Allow uno bridging code to compile with our gcc3.1 and gcc3.2 from ports. (diff) |
Add missing include for strchr() if compiled with gcc3
Notes
Notes:
svn path=/head/; revision=60321
3 files changed, 36 insertions, 0 deletions
diff --git a/editors/openoffice-1.0/files/patch-tools::source::string::charset.cxx b/editors/openoffice-1.0/files/patch-tools::source::string::charset.cxx new file mode 100644 index 000000000000..b989108fbdbb --- /dev/null +++ b/editors/openoffice-1.0/files/patch-tools::source::string::charset.cxx @@ -0,0 +1,12 @@ +--- ../tools/source/string/charset.cxx.orig Fri May 31 00:17:15 2002 ++++ ../tools/source/string/charset.cxx Fri May 31 00:17:17 2002 +@@ -68,6 +68,9 @@ + #include <stdio.h> + #include <stdlib.h> + #include <strings.h> ++#if defined(FREEBSD) ++#include <string.h> ++#endif + #include <locale.h> + #include <langinfo.h> + #ifndef _TOOLS_LANG_HXX diff --git a/editors/openoffice.org-1.0/files/patch-tools::source::string::charset.cxx b/editors/openoffice.org-1.0/files/patch-tools::source::string::charset.cxx new file mode 100644 index 000000000000..b989108fbdbb --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-tools::source::string::charset.cxx @@ -0,0 +1,12 @@ +--- ../tools/source/string/charset.cxx.orig Fri May 31 00:17:15 2002 ++++ ../tools/source/string/charset.cxx Fri May 31 00:17:17 2002 +@@ -68,6 +68,9 @@ + #include <stdio.h> + #include <stdlib.h> + #include <strings.h> ++#if defined(FREEBSD) ++#include <string.h> ++#endif + #include <locale.h> + #include <langinfo.h> + #ifndef _TOOLS_LANG_HXX diff --git a/editors/openoffice/files/patch-tools::source::string::charset.cxx b/editors/openoffice/files/patch-tools::source::string::charset.cxx new file mode 100644 index 000000000000..b989108fbdbb --- /dev/null +++ b/editors/openoffice/files/patch-tools::source::string::charset.cxx @@ -0,0 +1,12 @@ +--- ../tools/source/string/charset.cxx.orig Fri May 31 00:17:15 2002 ++++ ../tools/source/string/charset.cxx Fri May 31 00:17:17 2002 +@@ -68,6 +68,9 @@ + #include <stdio.h> + #include <stdlib.h> + #include <strings.h> ++#if defined(FREEBSD) ++#include <string.h> ++#endif + #include <locale.h> + #include <langinfo.h> + #ifndef _TOOLS_LANG_HXX |