Alfred Perlstein wrote:

> >
> > somewhere in the top of <netinet/in.h>. I want to verify if this is indeed
> > the best way to solve it ?
> 
> No, the proper solution is to do a forward struct declaration like so:
> 
> struct something;
> 
> struct bigger_something {
>         struct something foo;
> }

As we discussed offline Alfred,  I would post this didn't work unless it
was

struct bigger_something {
        struct something *foo;
}

but I cannot change the structure that had to be added to
<netinet/in.h>. So 
it's probably going to be the #fndef _SYS_SOCKET_H.

Thanks, Wilbert


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to