$NetBSD: patch-ab,v 1.3 2006/03/01 12:16:04 reinoud Exp $ --- src/peer.c.orig 2005-12-09 09:02:57.000000000 +0100 +++ src/peer.c @@ -19,6 +19,7 @@ # include # include # include +# include # if HAVE_UNISTD_H # include # endif @@ -596,7 +597,7 @@ recv_peermsg( btContext *ctx, btPeer *pe btDownload *dl = ctx->downloads[peer->download]; int32_t nbo_len; int len; - char msg[84]; + char msg[128]; char *nmsg, *param; int res = 0; int err;