  //    pass in address of array of char * pointers
  // onlycompoundsug: probably bad suggestions (need for ngram sugs, too)
  
---- misc/hunspell-1.1.12/src/tools/hunspell.cxx	2007-07-24 20:47:52.000000000 +0900
-+++ misc/build/hunspell-1.1.12/src/tools/hunspell.cxx	2008-06-20 20:06:35.469625000 +0900
-@@ -85,8 +85,10 @@
+--- misc/hunspell-1.1.12/src/tools/hunspell.cxx	Tue Jul 24 13:47:52 2007
++++ misc/build/hunspell-1.1.12/src/tools/hunspell.cxx	Fri Aug 22 15:29:12 2008
+@@ -8,6 +8,12 @@
+ #include <cstdlib>
+ #include <cstdio>
+ 
++#ifdef __SUNPRO_CC
++using namespace std;
++#include <string.h>
++#include <malloc.h>
++#endif
++
+ #include "config.h"
+ #include "hunspell.hxx"
+ 
+@@ -85,8 +91,10 @@
  #if ENABLE_NLS
  #ifdef HAVE_LOCALE_H
  #include <locale.h>

-
-
--- misc/hunspell-1.1.12/src/hunspell/csutil.cxx	Thu Aug 23 09:27:39 2007
+++ misc/build/hunspell-1.1.12/src/hunspell/csutil.cxx	Tue Jun 17 12:51:33 2008
@@ -18,13 +18,13 @@
 #include "langnum.hxx"
 
 #ifdef OPENOFFICEORG

 #include "license.hunspell"
 #include "license.myspell"
 
@@ -11,8 +15,16 @@
 #include <stdio.h> 
 #endif
 
+#ifdef __SUNPRO_CC
+#include <cstdlib>
+#endif
+
 #include "hunspell.hxx"
-#include "hunspell.h"
+#ifndef OPENOFFICEORG
