Thread (19 messages) 19 messages, 6 authors, 2017-08-09

[PATCH v3 net-next 2/5] inet: include net/sock.h in inet_common.h

flat view
STALE3355d

From: Tom Herbert <hidden>
Date: 2017-08-07 17:28:56
Subsystem: networking [general], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Revision v3 of 4 in this series.

Revisions (4)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3
  4. v3 current
inet_common.h has a dependency on sock.h so it should include that.

Signed-off-by: Tom Herbert <redacted>
---
 include/net/inet_common.h | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/include/net/inet_common.h b/include/net/inet_common.h
index f39ae697347f..df0119a317aa 100644
--- a/include/net/inet_common.h
+++ b/include/net/inet_common.h
@@ -1,6 +1,8 @@
 #ifndef _INET_COMMON_H
 #define _INET_COMMON_H
 
+#include <net/sock.h>
+
 extern const struct proto_ops inet_stream_ops;
 extern const struct proto_ops inet_dgram_ops;
 
-- 
2.11.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help