You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Brad Nicholes <BN...@novell.com> on 2001/08/08 23:48:16 UTC

compile problems with sa_common.c

   I am trying to compile network_io/unix/sa_common.c and running into a problem.  The first function that is implemented is 

APR_DECLARE(apr_status_t) apr_sockaddr_port_set(apr_sockaddr_t *sockaddr,  apr_port_t port)

It's prototype is found in apr_network_io.h but I can't figure out how apr_network_io.h gets included in sa_common.c.  It is not included in the .c file and the includes that do appear in the file don't include apr_network_io.h.  Am I missing something there?

Brad


Re: compile problems with sa_common.c

Posted by Ryan Bloom <rb...@covalent.net>.
sa_common.c is never compiled on it's own.  That .c file is included in
sockaddr.c, which is what includes networkio.h, which in turn includes
apr_network_io.h.

Ryan

On Wednesday 08 August 2001 14:48, Brad Nicholes wrote:
>    I am trying to compile network_io/unix/sa_common.c and running into a
> problem.  The first function that is implemented is
>
> APR_DECLARE(apr_status_t) apr_sockaddr_port_set(apr_sockaddr_t *sockaddr, 
> apr_port_t port)
>
> It's prototype is found in apr_network_io.h but I can't figure out how
> apr_network_io.h gets included in sa_common.c.  It is not included in the
> .c file and the includes that do appear in the file don't include
> apr_network_io.h.  Am I missing something there?
>
> Brad

-- 

_____________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
Covalent Technologies			rbb@covalent.net
-----------------------------------------------------------------------------