* Manolo Valdes <[EMAIL PROTECTED]> wrote:
> In file included from /usr/include/net/if_ppp.h:28,
>                  from test.c:1:
> /usr/include/net/ppp_defs.h:86: error: syntax error before "ext_accm"
> /usr/include/net/ppp_defs.h:146: error: syntax error before "time_t"
> In file included from /usr/include/net/if_ppp.h:29,
>                  from test.c:1:
> /usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type
> /usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type
> /usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type
> /usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type
> /usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type
> /usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type
> /usr/include/net/if.h:368: error: field `addr' has incomplete type
> /usr/include/net/if.h:369: error: field `dstaddr' has incomplete type

Use the following lines:

        #include <sys/types.h>
        #include <sys/socket.h>
        #include <net/if_ppp.h>

Yours,
-- 
 Ed Schouten <[EMAIL PROTECTED]>
 WWW: http://g-rave.nl/

Attachment: pgpr1ufb9ScJO.pgp
Description: PGP signature

Reply via email to