[NETFILTER]: Make sure xt_policy.h is unifdef'ed.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Wed, 20 Feb 2008 01:19:14 +0000 (17:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Feb 2008 01:19:14 +0000 (17:19 -0800)
Since the header file xt_policy.h tests __KERNEL__, it should be
unifdef'ed before exporting to userspace.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/Kbuild

index 91fef0cae42f2bf28feddeb0d0d0ad715baaaee8..3aff513d12c882870a51261399f34d935d27e6d1 100644 (file)
@@ -30,7 +30,6 @@ header-y += xt_mark.h
 header-y += xt_multiport.h
 header-y += xt_owner.h
 header-y += xt_pkttype.h
-header-y += xt_policy.h
 header-y += xt_rateest.h
 header-y += xt_realm.h
 header-y += xt_sctp.h
@@ -47,3 +46,4 @@ unifdef-y += nfnetlink.h
 unifdef-y += nfnetlink_compat.h
 unifdef-y += x_tables.h
 unifdef-y += xt_physdev.h
+unifdef-y += xt_policy.h