--- chkfontpath-1.9.5/chkfontpath.c.ORIG Fri Jan 19 06:27:13 2001 +++ chkfontpath-1.9.5/chkfontpath.c Wed Apr 25 04:55:57 2001 @@ -26,7 +26,9 @@ #include #include #include +#ifndef __APPLE__ #include +#endif #include #include @@ -35,6 +37,13 @@ static int fpCount; static int quiet; static int firstdir; + +#ifdef __APPLE__ +char *basename(const char *path) +{ + return rindex(path, '/')+1; +} +#endif void readFontPath() {