--- ray/src/common/lookup.c 2003/05/13 17:58:32 2.8 +++ ray/src/common/lookup.c 2003/06/30 14:59:11 2.9 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: lookup.c,v 2.8 2003/05/13 17:58:32 greg Exp $"; +static const char RCSid[] = "$Id: lookup.c,v 2.9 2003/06/30 14:59:11 schorsch Exp $"; #endif /* * Table lookup routines @@ -9,10 +9,12 @@ static const char RCSid[] = "$Id: lookup.c,v 2.8 2003/ #include #include +#include + #include "lookup.h" #ifdef NOSTRUCTASS -#define copystruct(d,s) bcopy((void *)(s),(void *)(d),sizeof(*(d))) +#define copystruct(d,s) memcpy((void *)(d),(void *)(s),sizeof(*(d))) #else #define copystruct(d,s) (*(d) = *(s)) #endif