nl_catd nlmsg_fd = (nl_catd)-1;
char * errmsg;
#if defined(SVR4) || defined (_AIX) || defined(sco) || defined(DEC) || \
- defined(CSRG_BASED) || defined(linux)
+ defined(CSRG_BASED) || defined(linux) || defined(sun)
char * nextMatch;
#endif
altCatName = XtMalloc(strlen(catName) + 10);
#if defined(SVR4) || defined (_AIX) || defined(sco) || defined(DEC) || \
- defined(CSRG_BASED) || defined(linux)
+ defined(CSRG_BASED) || defined(linux) || defined(sun)
/* These platforms don't have strrstr() */
ptr = NULL;
nextMatch = catName;