[PATCH] drop old netinet/in_systm.h include

Mike Frysinger vapier at gentoo.org
Sat Dec 15 08:58:56 AEDT 2018


On 14 Dec 2018 16:31, Damien Miller wrote:
> On Tue, 11 Dec 2018, Mike Frysinger wrote:
> > This header provides only three typedefs: n_long, n_short, and n_time.
> > OpenSSH doesn't use it at all, and the headers it includes don't.  So
> > punt this ancient include since it offers nothing useful.
> 
> IIRC this was needed on some systems because other sys/* headers depended
> on its definitions. 
> 
> No idea if that's still the case though

i looked through current {Open,Net,Free}BSD systems and couldn't find
such dependencies.  so it's a question of what systems still exist ...

alternatively could add a configure time test for the header and move
the include to something like includes.h.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20181214/06ba8ec0/attachment.asc>


More information about the openssh-unix-dev mailing list