Date: Mon, 28 Oct 2013 15:11:37 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r257256 - head/sys/contrib/ipfilter/netinet Message-ID: <201310281511.r9SFBbHq005573@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Mon Oct 28 15:11:37 2013 New Revision: 257256 URL: http://svnweb.freebsd.org/changeset/base/257256 Log: Fix build. We need to include systm.h before if_var.h. Pointy hat to: glebius Modified: head/sys/contrib/ipfilter/netinet/radix_ipf.c Modified: head/sys/contrib/ipfilter/netinet/radix_ipf.c ============================================================================== --- head/sys/contrib/ipfilter/netinet/radix_ipf.c Mon Oct 28 14:52:08 2013 (r257255) +++ head/sys/contrib/ipfilter/netinet/radix_ipf.c Mon Oct 28 15:11:37 2013 (r257256) @@ -9,12 +9,14 @@ #include <sys/param.h> #include <netinet/in.h> #include <net/if.h> -#if !defined(_KERNEL) +#ifdef _KERNEL +#include <sys/systm.h> +#else # include <stddef.h> # include <stdlib.h> # include <strings.h> # include <string.h> -#endif +#endif /* !_KERNEL */ #include "netinet/ip_compat.h" #include "netinet/ip_fil.h" #ifdef RDX_DEBUG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310281511.r9SFBbHq005573>