netlink audit warning fix
authorAndrew Morton <akpm@osdl.org>
Sat, 30 Apr 2005 06:07:04 +0000 (07:07 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Sat, 30 Apr 2005 06:07:04 +0000 (07:07 +0100)
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>
net/netlink/af_netlink.c

index cb64cff3e339491664a3d299edf19e5406ff5aef..379ed06e60a37d852390d2bbdc67422fce369c6c 100644 (file)
@@ -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>