]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix compilation of world with WITHOUT_{INET,INET6}_SUPPORT or both set.
authorbz <bz@FreeBSD.org>
Sun, 3 Mar 2019 10:00:26 +0000 (10:00 +0000)
committerbz <bz@FreeBSD.org>
Sun, 3 Mar 2019 10:00:26 +0000 (10:00 +0000)
commitba9633beef89036849f5994f67d1fa40e482b89c
treeec88c08f05dc74a9d6346576fd853e560fb434c3
parent1184850228d242c099be3151310b0f8e6289d52e
Fix compilation of world with WITHOUT_{INET,INET6}_SUPPORT or both set.

Buildworld failed when both WITHOUT_INET6_SUPPORT and INET equivalent were set.
Fix netstat and syslogd by applying appropriate #ifdef INET/INET6 to make world
compile again.

Reviewed by: ngie, hrs, ume
Welcomed by: Michael Dexter (D17040)
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D19418
usr.bin/netstat/inet.c
usr.sbin/syslogd/syslogd.c