--- ray/src/common/font.c 2003/11/14 17:22:06 2.17 +++ ray/src/common/font.c 2016/03/22 03:56:17 2.20 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: font.c,v 2.17 2003/11/14 17:22:06 schorsch Exp $"; +static const char RCSid[] = "$Id: font.c,v 2.20 2016/03/22 03:56:17 greg Exp $"; #endif /* * Polygonal font handling routines @@ -7,6 +7,9 @@ static const char RCSid[] = "$Id: font.c,v 2.17 2003/1 #include "copyright.h" +#include + +#include "paths.h" #include "rtio.h" #include "rterror.h" #include "font.h" @@ -39,7 +42,7 @@ char *fname; /* load the font file */ if ((pathname = getpath(fname, getrlibpath(), R_OK)) == NULL) { sprintf(errmsg, "cannot find font file \"%s\"", fname); - error(USER, errmsg); + error(SYSTEM, errmsg); } f = (FONT *)calloc(1, sizeof(FONT)); if (f == NULL)