You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Greg Stein <gs...@lyra.org> on 2000/12/03 12:09:36 UTC
Re: BeOS socket compilation stuff
Gotcha! The patch to unix/sockaddr.c has been applied (rather than the
Makefile.in change)
Cheers,
-g
On Sun, Dec 03, 2000 at 04:52:45AM -0600, Sam TH wrote:
>...
> Here's the include chain.
>
> network_io/beos/sockaddr.c
> includes
> network_io/unix/sockaddr.c
> includes
> network_io/unix/sa_common.c
>
> It's the last part that causes trouble. Another possible solution is
> this patch:
>
> Index: sockaddr.c
> ===================================================================
> RCS file: /home/cvspublic/apr/network_io/unix/sockaddr.c,v
> retrieving revision 1.25
> diff -u -r1.25 sockaddr.c
> --- sockaddr.c 2000/12/01 18:47:31 1.25
> +++ sockaddr.c 2000/12/03 10:51:59
> @@ -69,4 +69,4 @@
> }
>
> /* included here to allow us to use local_addr */
> -#include "sa_common.c"
> +#include "../unix/sa_common.c"
>
> I haven't tested that, but it should fix the problem. Whichever one
> you want.
>
> sam th
> sam@uchicago.edu
> http://www.abisource.com/~sam/
> GnuPG Key:
> http://www.abisource.com/~sam/key
--
Greg Stein, http://www.lyra.org/