apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: BeOS socket compilation stuff
Date Sun, 03 Dec 2000 11:09:36 GMT
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/

Mime
View raw message