/* Internal version number */
static char *RCS_Id = "$Id$";
-#include "xpmi.h"
+#include "XpmI.h"
#endif
#include <ctype.h>
if (!l)
return (XpmFileInvalid);
buf[l] = '\0';
- #ifdef macintosh
+ #if defined(macintosh) || defined(__APPLE__)
ptr = strrchr(buf, '_');
#else
ptr = rindex(buf, '_');