From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Herbert Subject: [PATCH v2 net-next 1/4] inet: include net/sock.h in inet_common.h Date: Tue, 1 Aug 2017 20:18:43 -0700 Message-ID: <20170802031846.21993-2-tom@quantonium.net> References: <20170802031846.21993-1-tom@quantonium.net> Cc: rohit@quantonium.net, davejwatson@fb.com, Tom Herbert To: netdev@vger.kernel.org Return-path: Received: from mail-pg0-f48.google.com ([74.125.83.48]:33985 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752038AbdHBDTL (ORCPT ); Tue, 1 Aug 2017 23:19:11 -0400 Received: by mail-pg0-f48.google.com with SMTP id u185so15705104pgb.1 for ; Tue, 01 Aug 2017 20:19:11 -0700 (PDT) In-Reply-To: <20170802031846.21993-1-tom@quantonium.net> Sender: netdev-owner@vger.kernel.org List-ID: inet_common.h has a dependency on sock.h so it should include that. Signed-off-by: Tom Herbert --- 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 + extern const struct proto_ops inet_stream_ops; extern const struct proto_ops inet_dgram_ops; -- 2.11.0