--- ray/src/common/rtmisc.h 2003/06/30 14:59:11 3.2 +++ ray/src/common/rtmisc.h 2003/07/21 22:30:17 3.5 @@ -1,25 +1,21 @@ -/* RCSid $Id: rtmisc.h,v 3.2 2003/06/30 14:59:11 schorsch Exp $ */ +/* RCSid $Id: rtmisc.h,v 3.5 2003/07/21 22:30:17 schorsch Exp $ */ /* * Miscellaneous Radiance definitions */ #ifndef _RAD_RTMISC_H_ #define _RAD_RTMISC_H_ + +#include + #ifdef __cplusplus extern "C" { #endif -#include - /* memory operations */ -#ifdef NOSTRUCTASS -#include -#define copystruct(d,s) memcpy((void *)(d),(void *)(s),sizeof(*(d))) -#else -#define copystruct(d,s) (*(d) = *(s)) -#endif - /* defined in bmalloc.c */ extern char *bmalloc(unsigned int n); extern void bfree(char *p, unsigned int n); + /* defined in myhostname.c */ +extern char *myhostname(void); #ifdef __cplusplus }