From patchwork Wed Sep 19 05:10:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Harsha Sharma X-Patchwork-Id: 971445 X-Patchwork-Delegate: pablo@netfilter.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netfilter-devel-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="QyAoiBKf"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42FSch19F4z9sB5 for ; Wed, 19 Sep 2018 15:11:00 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728194AbeISKrI (ORCPT ); Wed, 19 Sep 2018 06:47:08 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:43310 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726827AbeISKrI (ORCPT ); Wed, 19 Sep 2018 06:47:08 -0400 Received: by mail-pf1-f195.google.com with SMTP id j26-v6so2099762pfi.10 for ; Tue, 18 Sep 2018 22:10:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d0e6z94iG19TKl9GBG+L5q9E6NpjVgxVMPjx9p0XVMc=; b=QyAoiBKfFnxEFceL2CjPKjsagr7peCQ2PZ8leDBtckLvbfAjJorRgCQLHbHwTCgBYy REDsib36jZuylhfcXFOGtXw/GJB6XjGP86P+TIMuH0BIvnfGdyuj5pi6+LdonMx0U8pE VtGBv+kYm22ZNP/0NmW+8YcpS6JLmrXwNWVQSCBbaC6fY4+O8opv9vr75pLCZXJyQtFS UjrXgOOp00nfqel9w59FGQsQZKYyDbLO9jlQwCIbHpJ6fWjnxZpDpKmqcX2njowP8PDW yRO8nkBOsmP03ya4fvQnrG1DOB9ZDqihq59BiNLi8ggDiRH9fqd2sHidSAyJRaPWMJNS LHHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d0e6z94iG19TKl9GBG+L5q9E6NpjVgxVMPjx9p0XVMc=; b=hm4hgDwilKeRPKG8Va6Ov6i2pp2hapJXGujv4sKvYzsyKJlnfCV/Yt17l4/LDC4L3X FYKbsSwb0sbnJ/RVGMLyqge1ZrhNz37ls1YryPDhLepAOlfmSXMJrPIGI1B75a4crjaE 274HpYNKBGipF79GwxopLLd4A7SrI/zI6URExZebgd7nqWDJj3Fv0+o+HJ+CrO3zrlGc 0lU2rFr0MCwSo8czuXvfpTYixQRrq7v1RBF/4vldvZ2EndCf3HmCJMaVnLo7bXIw9pxe 8iWqeYJyFEdjcsBCYyx8t8B0psALeXk4YLCt6UXKoBLCDialW7Alvd3azroQ6IVbzWXb 6oqQ== X-Gm-Message-State: APzg51BceYyh6WdfoxWnkmKI1YtXYZpKlP7SmP9Exc4oRo8m8i6iM8GP wPInQlEIfOKVRWkGke2tewI= X-Google-Smtp-Source: ANB0VdYDONg/zZ1B3w187We9eP3zNyVBApqzZON1yUBe3kWFPW3VN6fwa0re9HqExVbX0ADm69oolg== X-Received: by 2002:a63:2150:: with SMTP id s16-v6mr30950268pgm.267.1537333858652; Tue, 18 Sep 2018 22:10:58 -0700 (PDT) Received: from XDDDDD.iitr.ernet.in ([103.37.201.44]) by smtp.gmail.com with ESMTPSA id z11-v6sm26789075pff.162.2018.09.18.22.10.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Sep 2018 22:10:58 -0700 (PDT) From: Harsha Sharma To: harshasharmaiitr@gmail.com, pablo@netfilter.org Cc: netfilter-devel@vger.kernel.org Subject: [PATCH libnftnl v2] obj: ct_timeout: fix error in building tests Date: Wed, 19 Sep 2018 10:40:39 +0530 Message-Id: <20180919051039.9311-1-harshasharmaiitr@gmail.com> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Sender: netfilter-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netfilter-devel@vger.kernel.org Add include header for NFTNL_CTTIMEOUT_ARRAY_MAX. Fixes compilation error "../include/obj.h:43:21: error: ‘NFTNL_CTTIMEOUT_ARRAY_MAX’ undeclared here (not in a function); Signed-off-by: Harsha Sharma --- Changes in v2: - Add compilation error in log message include/obj.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/obj.h b/include/obj.h index dfdbb73..26184da 100644 --- a/include/obj.h +++ b/include/obj.h @@ -2,6 +2,7 @@ #define _OBJ_OPS_H_ #include +#include /* For NFTNL_CTTIMEOUT_ARRAY_MAX. */ #include "internal.h" struct nlattr;