--- ray/src/gen/replmarks.c 1992/03/03 21:30:03 2.2 +++ ray/src/gen/replmarks.c 1998/01/16 10:48:23 2.4 @@ -17,7 +17,7 @@ static char SCCSid[] = "$SunId$ LBL"; #include "fvect.h" #ifdef M_PI -#define PI M_PI +#define PI ((double)M_PI) #else #define PI 3.14159265358979323846 #endif @@ -26,6 +26,10 @@ static char SCCSid[] = "$SunId$ LBL"; #define MAXVERT 6 /* maximum number of vertices for markers */ #define MAXMARK 32 /* maximum number of markers */ + +#ifdef DCL_ATOF +extern double atof(); +#endif typedef struct { short beg, end; /* beginning and ending vertex */