From patchwork Mon Aug 26 07:48:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrick Steinhardt X-Patchwork-Id: 11114205 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F26ED14DE for ; Mon, 26 Aug 2019 07:49:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9EEC42080C for ; Mon, 26 Aug 2019 07:49:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=pks.im header.i=@pks.im header.b="4TOjsmhG"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="bmLn8wRL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730103AbfHZHtI (ORCPT ); Mon, 26 Aug 2019 03:49:08 -0400 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:42307 "EHLO wout3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727563AbfHZHtH (ORCPT ); Mon, 26 Aug 2019 03:49:07 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 8FCAB38E for ; Mon, 26 Aug 2019 03:49:06 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 26 Aug 2019 03:49:06 -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=lqLvFz7httVB3 363B7u+xSWugEcT9YQPU8nl/ICvCe8=; b=4TOjsmhGZlzPLYY13hsNpoTivsNRG 8MfP1Fw08ul+h+3NfjJqj6A8LbOuDtBGFJGj75OAPegsoZpqSRURYyw1nnNu95G6 yfi4a0P3u9Dcn+Dy+3JBNkTaJhqIHtv55Pkgn1cLlQRQ8oVXQkfTh57IWgW6sO46 b2XZqsbWrl5MgWm++UPFB7PT9K+decbsuhTZ9JuhMj7vG0Mtxx8i0BaqWpFkBPHb JVxq2wWRIzt6TexWTsblvDyqlhwEHr/eomvWNqutNZLRZDDq4uZ/5Z7HPeTzyChb AU0rKJci8oLLJ1zdqXhzFmTDjJ4TQ125Nh+nP98KpJRJykbeUtH/LGcLw== 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=lqLvFz7httVB3363B7u+xSWugEcT9YQPU8nl/ICvCe8=; b=bmLn8wRL WZ6vPbO8e30W4wpwFrem8U8qLEWkDMfA9BqzOaDSeq1kcIVorsjXcaDBIkqXVK+b 7vsXMXLFzuUTFJO+WTN0AQHQVtR+ipFJXUOJaacZG5cdGo2DZiVcDBhpJYm/G/mf h6CFHJTgz79WFFmJSO7NzxHxSSdz5zAumIjeimQMSDk3ZM91gcvo+GE115lsy532 ZFM87l9g+VeZYHses3wdfIxKsDJGbMQRN7br3spUCp7b/79ebRC3yleCEOwAikDR tSX4d4le5nkeaKfddjWeD4lI1sbyokyPmek1pSqKUCTu7i9Xv3VDPEZHLPBc/2P2 4KR5NSSsuyu+Bw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudehfedguddvhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfggfgsedtke ertdertddtnecuhfhrohhmpefrrghtrhhitghkucfuthgvihhnhhgrrhguthcuoehpshes phhkshdrihhmqeenucfkphepjeekrdehhedrvdefrddutdeknecurfgrrhgrmhepmhgrih hlfhhrohhmpehpshesphhkshdrihhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from NSJAIL (x4e37176c.dyn.telefonica.de [78.55.23.108]) by mail.messagingengine.com (Postfix) with ESMTPA id 9BE69D60062 for ; Mon, 26 Aug 2019 03:49:05 -0400 (EDT) Received: from localhost (10.192.0.11 [10.192.0.11]) by NSJAIL (OpenSMTPD) with ESMTPSA id 7f6f5b3d (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Mon, 26 Aug 2019 07:49:01 +0000 (UTC) From: Patrick Steinhardt To: linux-nfs@vger.kernel.org Cc: Patrick Steinhardt Subject: [PATCH 2/3] nfsdcld: add missing include for PATH_MAX Date: Mon, 26 Aug 2019 09:48:51 +0200 Message-Id: <15b474e6fa7aee12e64e4376f7716a232e40100a.1566805721.git.ps@pks.im> X-Mailer: git-send-email 2.23.0 In-Reply-To: <6de0089348765e60bcdf59ef5813d7bb631c967f.1566805721.git.ps@pks.im> References: <6de0089348765e60bcdf59ef5813d7bb631c967f.1566805721.git.ps@pks.im> MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org While glibc transitively includes and thus has PATH_MAX available, other libc implementations may not have the transitive include and thus miss the definition. Add an explicit include of to fix compilation with musl libc. Signed-off-by: Patrick Steinhardt --- utils/nfsdcld/legacy.c | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/nfsdcld/legacy.c b/utils/nfsdcld/legacy.c index f0ca3168..07f477ab 100644 --- a/utils/nfsdcld/legacy.c +++ b/utils/nfsdcld/legacy.c @@ -24,6 +24,7 @@ #include #include #include +#include #include "cld.h" #include "sqlite.h" #include "xlog.h"