--- libatalk/atp/atp_sresp.c.orig	Fri Oct 22 01:40:00 1993
+++ libatalk/atp/atp_sresp.c	Thu Nov 18 15:48:07 1999
@@ -26,6 +26,7 @@
 #include <sys/errno.h>
 #include <sys/uio.h>
 #include <sys/time.h>
+#include <string.h>
 
 #include <netatalk/at.h>
 #include <atalk/atp.h>
@@ -40,7 +41,7 @@
     struct atp_block	*atpb;		/* parameter block */
 {
     int			i;
-    u_char		ctrlinfo;
+    u_int8_t		ctrlinfo;
     struct atpbuf	*resp_buf;
     struct atpbuf	*save_buf;
 
@@ -130,7 +131,7 @@
 		(struct timezone *) 0 );
 	save_buf->atpbuf_info.atpbuf_xo.atpxo_tid = ah->atph_rtid;
 	save_buf->atpbuf_info.atpbuf_xo.atpxo_reltime = ah->atph_rreltime;
-	bcopy( (char *) atpb->atp_saddr, (char *) &save_buf->atpbuf_addr,
+	memcpy( (char *) &save_buf->atpbuf_addr, (char *) atpb->atp_saddr,
 	  sizeof( struct sockaddr_at ));
 
 	/* add to list of packets we have sent
