Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp466912ybl; Wed, 28 Aug 2019 00:12:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzy+siSrqnmpPow1gEFg7y2wVBoyjw2nEva1TJuLK4G7Yfjt6aHPC8CCGPTFZdXl/edTyzH X-Received: by 2002:a17:902:6a84:: with SMTP id n4mr2866881plk.109.1566976344478; Wed, 28 Aug 2019 00:12:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566976344; cv=none; d=google.com; s=arc-20160816; b=PTlUBlDUThEnuEjULGcD8Ozn34HcmuH4O3CyJBs8d86q5flGUzHEGob4JjqdVMmp4S 8GLBwaU7fFmvsHq1173OhV0iWkrKOP7Dy5lKHmLeb7Z6pBSKIv2KVngKS5uxOw49jxyH mdq5u1v1omf15oyBV4rqWd5AgzEnelaUqE3tD+RTpPkpRy8JjxzlEyk9bFQD2J+sD2QM DYoN16Nc0yXDdNczd9UgtkTsDSUNqD09lsVoCmo/wSahQXUNk6OaSG80ssLj5rxKQzef ifw2yV5FuJwXb0ry25JNHTBkfdtPOUrFxzki8BymgCO/s3x5Pshp8YaAuGZs/kTDenTY jYgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=KlSKOXKRHQHQw+s21VcvqJBsmiq3FmwE2ig1q9YZLCs=; b=Y5RhZ+YHJqSaY7kvLCJdqkb6+5ixyR8Uw/NBdaS+3fuIBwmBc2UrPfpY9dO+TbISDs 13x9y04Cn02+oNLtww/GM/cDS3EpeUVZfFYn723xLJt2tqVKaRgai/Qtx3HAeOwR+odn 9sJDawVM93HbyLWrZKgKY0JwSJUnEnJP2oEMd38qBM1kuROEwuLYCZyKErHAqnTKYfDd Mcmx4Do6kB2HOi6zUoFzXhetCjsbRGJW4FmZ16ijppcCYwnXbYtruXV2kiZapQv5pdXl JZJhfWY9eESlAVUNaLVGEH9FEjXxByfzipXw9GUABSygrfya0ZuoowuiQOqsQS3i6+b7 hxHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pks.im header.s=fm1 header.b=eGyMzw1g; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=MsoIXtvt; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b16si1423363pgh.296.2019.08.28.00.12.10; Wed, 28 Aug 2019 00:12:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@pks.im header.s=fm1 header.b=eGyMzw1g; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=MsoIXtvt; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726449AbfH1HKn (ORCPT + 99 others); Wed, 28 Aug 2019 03:10:43 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48371 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726446AbfH1HKn (ORCPT ); Wed, 28 Aug 2019 03:10:43 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 76F7822138 for ; Wed, 28 Aug 2019 03:10:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 28 Aug 2019 03:10:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pks.im; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=KlSKOXKRHQHQw +s21VcvqJBsmiq3FmwE2ig1q9YZLCs=; b=eGyMzw1gtb0Wj/78kVXqnBwKPa+WO SO2sbKMGdG6ORMH8e6l9fr+27+aFAXdNEN8wPLUjTdtSu4KShJ0hCXwqNrA7pJ8E HIWuUvZ92+TgWHKKx/TVXPlVw2I7QrwfrbBzXH3LmJwVmNEOOmB55yKx2lVAcQ0k m/egJnoGmDc+V5cHEghaj70dvuuk7oIqhWgirqBmIWTWqY8+QjFQPzUNX7VHlHzU 89aArYye9atzmBswzlMB28Kg0MA5YvyrqKy45Z1Gq+fpySEgeTpjokzzL2psNXTo Q+PO+Ypb7IDVpesn0pNcO15DLXAjx99tGheOn/UJWcLAQzx3eN49BTZaw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=KlSKOXKRHQHQw+s21VcvqJBsmiq3FmwE2ig1q9YZLCs=; b=MsoIXtvt 4uT1v/TIOCjL/FPMwPftXffVwiSm2mD+y2VDhGg00jiyxF5XmTFhR5chV70j6IBr UVDsTXrPByOkP0hhlH+m05CnDqiMaoMY3ORdIXPUfH3unF8OpkypXbfOjBL76PlI vk9XGj/z8GcZFG0RdLT1UdWFbu904f+ketBesVC/xAo4Xv4o9ptiS6twrcs1cDDr nM71omhRBcDu6/kuz2bVoUcqQL8ekde7aC1FPfFX2JnuiptD63A9g7Ksc5K0u8Ik nb/LNRBCauT4p6secgp/faMwBa4eMafBfu6sWqIWngkSvtPIbugFcrnfDndr2jfN K3EVfgA7mCy2DQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudehledgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefrrghtrhhitghkucfuthgvihhnhhgrrhguthcuoehpshes phhkshdrihhmqeenucfkphepjeejrdduuddrudehhedrvdehheenucfrrghrrghmpehmrg hilhhfrhhomhepphhssehpkhhsrdhimhenucevlhhushhtvghrufhiiigvpeeg X-ME-Proxy: Received: from NSJAIL (x4d0b9bff.dyn.telefonica.de [77.11.155.255]) by mail.messagingengine.com (Postfix) with ESMTPA id BFFC380059 for ; Wed, 28 Aug 2019 03:10:41 -0400 (EDT) Received: from localhost (10.192.0.11 [10.192.0.11]) by NSJAIL (OpenSMTPD) with ESMTPSA id a17a34ec (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Wed, 28 Aug 2019 07:10:41 +0000 (UTC) From: Patrick Steinhardt To: linux-nfs@vger.kernel.org Cc: Patrick Steinhardt Subject: [PATCH 5/6] nfsd_path: Include missing header for `struct stat` Date: Wed, 28 Aug 2019 09:10:16 +0200 Message-Id: X-Mailer: git-send-email 2.23.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org The header "nfsd_path.h" uses `struct stat` in its function signatures, but doesn't include the header. This may cause compiler warnings if a compilation unit includes "nfsd_path.h" while not transitively including . Fix the potential warning by including in the header. Signed-off-by: Patrick Steinhardt --- support/include/nfsd_path.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/support/include/nfsd_path.h b/support/include/nfsd_path.h index ca2570a9..b42416bb 100644 --- a/support/include/nfsd_path.h +++ b/support/include/nfsd_path.h @@ -4,6 +4,8 @@ #ifndef NFSD_PATH_H #define NFSD_PATH_H +#include + void nfsd_path_init(void); const char * nfsd_path_nfsd_rootdir(void); -- 2.23.0