--- ray/src/common/header.c 2003/06/20 00:25:49 2.15 +++ ray/src/common/header.c 2003/07/12 15:14:44 2.18 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: header.c,v 2.15 2003/06/20 00:25:49 greg Exp $"; +static const char RCSid[] = "$Id: header.c,v 2.18 2003/07/12 15:14:44 greg Exp $"; #endif /* * header.c - routines for reading and writing information headers. @@ -26,11 +26,12 @@ static const char RCSid[] = "$Id: header.c,v 2.15 2003 #include "copyright.h" -#include -#include #include #include +#include "rtio.h" +#include "resolu.h" + #define MAXLINE 512 char HDRSTR[] = "#?"; /* information header magic number */ @@ -305,7 +306,7 @@ FILE *fout; cdat.fp = fout; cdat.fs[0] = '\0'; - if (getheader(fin, mycheck, &cdat) < 0) + if (getheader(fin, mycheck, (char *)&cdat) < 0) return(-1); if (!cdat.fs[0]) return(0);