--- ray/src/common/lookup.c 2003/02/25 02:47:21 2.7 +++ 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.7 2003/02/25 02:47:21 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.7 2003/ #include #include +#include + #include "lookup.h" #ifdef NOSTRUCTASS -#define copystruct(d,s) bcopy((char *)(s),(char *)(d),sizeof(*(d))) +#define copystruct(d,s) memcpy((void *)(d),(void *)(s),sizeof(*(d))) #else #define copystruct(d,s) (*(d) = *(s)) #endif