Date: Sat, 11 May 2002 18:05:01 +0100 From: Brian Somers <brian@Awfulhak.org> To: Mike Barcroft <mike@FreeBSD.org> Cc: Brian Somers <brian@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@freebsd-services.com Subject: Re: cvs commit: src/usr.sbin/ppp mppe.c Message-ID: <200205111705.g4BH51nA052445@hak.lan.Awfulhak.org> In-Reply-To: Message from Mike Barcroft <mike@FreeBSD.org> of "Sat, 11 May 2002 11:26:14 EDT." <20020511112614.A59782@espresso.q9media.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Brian Somers <brian@FreeBSD.org> writes:
> > brian 2002/05/11 03:54:45 PDT
> >
> > Modified files:
> > usr.sbin/ppp mppe.c
> > Log:
> > #include netinet/in.h when !__FreeBSD__ to silence some warnings from
> > the inclusion of arpa/inet.h
> >
> > Revision Changes Path
> > 1.18 +3 -0 src/usr.sbin/ppp/mppe.c
>
> I think you could just remove the <arpa/inet.h> include and use
> <netinet/in.h> unconditionally.
Indeed (although byteorder(3) says arpa/inet.h is required).
In fact, {Net,Open}BSD don't need netinet/in.h either.
> Best regards,
> Mike Barcroft
--
Brian <brian@freebsd-services.com> <brian@Awfulhak.org>
http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205111705.g4BH51nA052445>
