$NetBSD: patch-ac,v 1.2 2018/10/23 11:45:34 bsiegert Exp $ --- src/hunspell/replist.cxx.orig 2017-09-03 11:38:44.000000000 +0000 +++ src/hunspell/replist.cxx @@ -76,6 +76,15 @@ #include "replist.hxx" #include "csutil.hxx" +#ifdef __SUNPRO_CC +using std::free; +using std::malloc; +using std::strcmp; +using std::strcpy; +using std::strlen; +using std::strncmp; +#endif + RepList::RepList(int n) { dat = (replentry**)malloc(sizeof(replentry*) * n); if (dat == 0)