summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-04-30 07:07:04 +0100
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-04-30 07:07:04 +0100
commit54e0f520e7d94b865e0f5465db976dcc5ffe7190 (patch)
tree6b6b72c48033ca54cb751e6e12fc7572f5d649ed /net
parent456be6cd90dbbb9b0ea01d56932d56d110d51cf7 (diff)
downloadop-kernel-dev-54e0f520e7d94b865e0f5465db976dcc5ffe7190.zip
op-kernel-dev-54e0f520e7d94b865e0f5465db976dcc5ffe7190.tar.gz
netlink audit warning fix
scumbags! net/netlink/af_netlink.c: In function `netlink_sendmsg': net/netlink/af_netlink.c:908: warning: implicit declaration of function `audit_get_loginuid' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'net')
-rw-r--r--net/netlink/af_netlink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index cb64cff..379ed06 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -49,6 +49,8 @@
#include <linux/bitops.h>
#include <linux/mm.h>
#include <linux/types.h>
+#include <linux/audit.h>
+
#include <net/sock.h>
#include <net/scm.h>
OpenPOWER on IntegriCloud