Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754764AbcK1LqL (ORCPT ); Mon, 28 Nov 2016 06:46:11 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:37237 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753751AbcK1LqC (ORCPT ); Mon, 28 Nov 2016 06:46:02 -0500 From: Colin King To: Alexei Starovoitov , Shuah Khan , netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH net-next] bpf: selftests: include to fix build error Date: Mon, 28 Nov 2016 11:45:41 +0000 Message-Id: <20161128114541.10829-1-colin.king@canonical.com> X-Mailer: git-send-email 2.10.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 982 Lines: 32 From: Colin Ian King Fix incomplete type build error on struct rlimit by including , fixes: test_lru_map.c:552:9: error: variable ‘r’ has initializer but incomplete type struct rlimit r = {RLIM_INFINITY, RLIM_INFINITY}; ^ test_lru_map.c:552:21: error: ‘RLIM_INFINITY’ undeclared (first use in this function) struct rlimit r = {RLIM_INFINITY, RLIM_INFINITY}; Signed-off-by: Colin Ian King --- tools/testing/selftests/bpf/test_lru_map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/bpf/test_lru_map.c b/tools/testing/selftests/bpf/test_lru_map.c index 627757e..fde54a2 100644 --- a/tools/testing/selftests/bpf/test_lru_map.c +++ b/tools/testing/selftests/bpf/test_lru_map.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include "bpf_sys.h" -- 2.10.2