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

 //    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 @@
 #if ENABLE_NLS
 #ifdef HAVE_LOCALE_H
 #include <locale.h>

 
 #ifndef MOZILLA_CLIENT
 #ifndef W32
@@ -1727,29 +1739,3 @@
 }
 
 #endif // END OF HUNSPELL_EXPERIMENTAL CODE
