--- ray/src/meta/syscalls.c 2003/02/22 02:07:26 1.1 +++ ray/src/meta/syscalls.c 2003/07/14 20:02:29 1.3 @@ -1,17 +1,15 @@ #ifndef lint -static const char RCSid[] = "$Id: syscalls.c,v 1.1 2003/02/22 02:07:26 greg Exp $"; +static const char RCSid[] = "$Id: syscalls.c,v 1.3 2003/07/14 20:02:29 schorsch Exp $"; #endif /* * System calls for meta-file routines */ - +#include "rtprocess.h" /* getpid() */ +#include "rterror.h" #include "meta.h" - - - FILE * efopen(fname, mode) /* open a file, report errors */ @@ -39,7 +37,7 @@ char *mode; { char *mdir, stemp[MAXFNAME]; -#if UNIX || MAC +#if UNIX || MAC || _WIN32 char *getenv(); if ((mdir = getenv("MDIR")) == NULL)