* [PATCH net-next] net: unix -- Add missing module.h inclusion
@ 2011-12-20 14:33 Cyrill Gorcunov
2011-12-20 18:47 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Cyrill Gorcunov @ 2011-12-20 14:33 UTC (permalink / raw)
To: NETDEV; +Cc: David Miller, Pavel Emelyanov
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>
---
net/unix/diag.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/net/unix/diag.c b/net/unix/diag.c
index a5c4aab..91d5782 100644
--- a/net/unix/diag.c
+++ b/net/unix/diag.c
@@ -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>
--
1.7.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: unix -- Add missing module.h inclusion
2011-12-20 14:33 [PATCH net-next] net: unix -- Add missing module.h inclusion Cyrill Gorcunov
@ 2011-12-20 18:47 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-12-20 18:47 UTC (permalink / raw)
To: gorcunov; +Cc: netdev, xemul
From: Cyrill Gorcunov <gorcunov@openvz.org>
Date: Tue, 20 Dec 2011 18:33:03 +0400
> 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>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-20 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-20 14:33 [PATCH net-next] net: unix -- Add missing module.h inclusion Cyrill Gorcunov
2011-12-20 18:47 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).