Date: Tue, 15 May 2007 16:19:36 +0200 From: Ed Schouten <ed@fxq.nl> To: Manolo Valdes <nolis71cu@gmail.com> Cc: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: issue with net/if_ppp.h Message-ID: <20070515141936.GT23313@hoeg.nl> In-Reply-To: <200705150955.40383.nolis71cu@gmail.com> References: <200705150955.40383.nolis71cu@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--AonAANj1daC6QcQu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Manolo Valdes <nolis71cu@gmail.com> 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 t= ype > /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 t= ype > /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, --=20 Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ --AonAANj1daC6QcQu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGScF452SDGA2eCwURArs0AJ4+WIGxYvYcuou2fhm0faBIsSE8LQCfX5qP P4XSl4HcaW7omjIufNzpHN0= =ciuU -----END PGP SIGNATURE----- --AonAANj1daC6QcQu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070515141936.GT23313>