To make compilable without -DINET6.
PR: bin/20407 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
This commit is contained in:
parent
ef10227633
commit
d84a1df489
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=64342
@ -40,6 +40,7 @@ static char sccsid[] = "@(#)inet6.c 8.4 (Berkeley) 4/20/94";
|
||||
*/
|
||||
#endif /* not lint */
|
||||
|
||||
#ifdef INET6
|
||||
#include <sys/param.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/socketvar.h>
|
||||
@ -1045,3 +1046,4 @@ inet6name(in6p)
|
||||
sizeof(ntop_buf)));
|
||||
return (line);
|
||||
}
|
||||
#endif /*INET6*/
|
||||
|
@ -67,6 +67,7 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifdef INET6
|
||||
#include <sys/param.h>
|
||||
#include <sys/queue.h>
|
||||
#include <sys/socket.h>
|
||||
@ -247,3 +248,4 @@ mrt6_stats(mstaddr)
|
||||
(unsigned long long)mrtstat.mrt6s_pkt2large,
|
||||
plural(mrtstat.mrt6s_pkt2large));
|
||||
}
|
||||
#endif /*INET6*/
|
||||
|
Loading…
Reference in New Issue
Block a user