diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 16df5bb830b1..0c401c821ef6 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -1134,7 +1134,7 @@ ip6_savecontrol(in6p, mp, ip6, m) struct ip6_hdr *ip6; struct mbuf *m; { -#if __FreeBSD__ >= 5 +#if __FreeBSD_version >= 500000 struct thread *td = curthread; /* XXX */ #else struct proc *td = curproc; /* XXX */