net: unix -- Add missing module.h inclusion
authorCyrill Gorcunov <gorcunov@openvz.org>
Tue, 20 Dec 2011 04:33:03 +0000 (04:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Dec 2011 18:29:43 +0000 (13:29 -0500)
Otherwise getting

 | net/unix/diag.c:312:16: error: expected declaration specifiers or ‘...’ before string constant
 | net/unix/diag.c:313:1: error: expected declaration specifiers or ‘...’ before string constant

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/diag.c

index a5c4aab0380de5df17e87d117414b784f224871c..91d57828499c6ec0f3887dec8a0a94ec8ffa1739 100644 (file)
@@ -3,6 +3,7 @@
 #include <linux/sock_diag.h>
 #include <linux/unix_diag.h>
 #include <linux/skbuff.h>
+#include <linux/module.h>
 #include <net/netlink.h>
 #include <net/af_unix.h>
 #include <net/tcp_states.h>