summaryrefslogtreecommitdiffstats
path: root/sys/contrib
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-02-27 13:29:18 +0000
committerbz <bz@FreeBSD.org>2009-02-27 13:29:18 +0000
commit5e1ae496afc1fd82d22f3bc722cc32bf1a7e2524 (patch)
treeb9f7bf7d0584d50ff33f6ec9981faee4a49da6f9 /sys/contrib
parentf02ef8e872244e98e3caa4724a632319c7f5132a (diff)
downloadFreeBSD-src-5e1ae496afc1fd82d22f3bc722cc32bf1a7e2524.zip
FreeBSD-src-5e1ae496afc1fd82d22f3bc722cc32bf1a7e2524.tar.gz
Move the include of vinet.h further up before the ipfilter includes.
Diffstat (limited to 'sys/contrib')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_fil_freebsd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c b/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
index 55107e2..c053c70 100644
--- a/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
+++ b/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
@@ -92,6 +92,9 @@ static const char rcsid[] = "@(#)$Id: ip_fil_freebsd.c,v 2.53.2.50 2007/09/20 12
#include <netinet/udp.h>
#include <netinet/tcpip.h>
#include <netinet/ip_icmp.h>
+#if defined(__FreeBSD_version) && (__FreeBSD_version >= 800056)
+# include <netinet/vinet.h>
+#endif
#ifndef _KERNEL
# include "netinet/ipf.h"
#endif
@@ -112,9 +115,6 @@ static const char rcsid[] = "@(#)$Id: ip_fil_freebsd.c,v 2.53.2.50 2007/09/20 12
#include "netinet/ip_scan.h"
#endif
#include "netinet/ip_pool.h"
-#if defined(__FreeBSD_version) && (__FreeBSD_version >= 800056)
-# include <netinet/vinet.h>
-#endif
#if defined(__FreeBSD_version) && (__FreeBSD_version >= 300000)
# include <sys/malloc.h>
#endif
OpenPOWER on IntegriCloud