summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-04-30 10:07:04 +0400
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>2005-04-30 10:07:04 +0400
commit54e0f520e7d94b865e0f5465db976dcc5ffe7190 (patch)
tree6b6b72c48033ca54cb751e6e12fc7572f5d649ed
parent456be6cd90dbbb9b0ea01d56932d56d110d51cf7 (diff)
downloadlinux-54e0f520e7d94b865e0f5465db976dcc5ffe7190.tar.xz
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>
-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 cb64cff3e339..379ed06e60a3 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>