Skip to contentSkip to conversation

net: unix -- Add missing module.h inclusion

PATCH Applied Cyrill Gorcunov 2 participants 2 messages Dec 20, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: unix -- Add missing module.h inclusion

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

---
 net/unix/diag.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
net/unix/diag.c +1 -0
index a5c4aab..91d5782 100644
@@ -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>
Signature · 1 line
1.7.7.4
maintainer Applied
#1 lore raw

From: Cyrill Gorcunov <[email protected]>
Date: Tue, 20 Dec 2011 18:33:03 +0400

Quoted 6 lines

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

Applied.