Index: ar.c =================================================================== RCS file: /cvs/libar/ar.c,v retrieving revision 1.42 retrieving revision 1.43 diff -u -r1.42 -r1.43 --- ar.c 22 Oct 2004 19:58:16 -0000 1.42 +++ ar.c 19 Nov 2004 20:54:47 -0000 1.43 @@ -4,7 +4,7 @@ */ #ifndef lint -static char ar_c_id[] = "@(#)$Id: ar.c,v 1.42 2004/10/22 19:58:16 msk Exp $"; +static char ar_c_id[] = "@(#)$Id: ar.c,v 1.43 2004/11/19 20:54:47 msk Exp $"; #endif /* !lint */ /* OS stuff */ @@ -666,8 +666,13 @@ /* first get the length */ len = 0; +#ifdef MSG_WAITALL r = recvfrom(lib->ar_nsfd, &len, sizeof len, MSG_WAITALL, NULL, NULL); +#else /* MSG_WAITALL */ + r = recvfrom(lib->ar_nsfd, &len, sizeof len, + 0, NULL, NULL); +#endif /* MSG_WAITALL */ if (r == (size_t) -1) { if (errno == EINTR)