Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4604448rwd; Sun, 11 Jun 2023 10:50:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7HQ898+x7n6LnPvt7IahM6pjBadiJl3T2LPJKMBAB8UxW8pcwO9m78VRHZ2kD3h/uO/6FX X-Received: by 2002:a05:6402:44d:b0:514:9c80:e3ff with SMTP id p13-20020a056402044d00b005149c80e3ffmr3212917edw.2.1686505849824; Sun, 11 Jun 2023 10:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686505849; cv=none; d=google.com; s=arc-20160816; b=tKvFqmc4XOWon7Cpl1UKL6BbmGnQc/qqSFDa7Af56jRmfr+uEfKMGJIP9Rs9WRm/q7 SKjeAvAX/kWlZzdpxKtZC19RnwZFb/HuKQJJwb04WK/2akb+Glasyhu5VXi+venfLCJp WKJUhGpaGDKx8zR2GfTrsi9W8ODDAhB+h9LrYYlLSUdUzeRCy7MY3x3rswsIMXkRXKQ5 oCBYC6R6blfjn2FSbnwgjYUwpNeOwQ44WquksJ937AGoYRgsHrQlGLEomhbIoSBI3x0d tetbrqI3yTOSwY5nCR2Yg1feuTLOCoNrtLEgJrwDh2XDBV3TtWLTsdLuVqyjzG5XMCGb 9jzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=hxYB8XXwpdGgMSlCqU0CjZr4+omK4VCcaroXu/eFHAE=; b=x7A6hAUh9fziuc55uGFn0/mJ2SaidEZFEZKRSEdo1XBs4NYAuErgjgHQSo0Chz7LCw AwcAlFQS8uj3/0g29Hi+xXh4zELD6AV6nB8brmfoQ15VNtXAdkslwEQkhcV67oBJJHHb oVJuXv/5TV6jnrEfVFzaOEsB6rbz+4OraeL6BF3pFKZjy/UE5jfDWZW3GKdCOw9E/jPQ fsg0xsfaq2ugDyXuXF4dv7mUsVybX4YbDK4QcGjcE7KP1ZvZD3uNttYOORE5usLKoN21 q+hkD5MWpARpNY4TJc3C+L2GISZgKN7n8NIED0OFoLZOuXwInBxRwCyujwlbvEQ16KK7 TqCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b="bv/Qh8yn"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bf5-20020a0564021a4500b00514a6bcbfc9si1544159edb.278.2023.06.11.10.50.08; Sun, 11 Jun 2023 10:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@aruba.it header.s=a1 header.b="bv/Qh8yn"; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232579AbjFKRqQ (ORCPT + 99 others); Sun, 11 Jun 2023 13:46:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjFKRqP (ORCPT ); Sun, 11 Jun 2023 13:46:15 -0400 X-Greylist: delayed 60 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 11 Jun 2023 10:46:12 PDT Received: from smtpdh16-2.aruba.it (smtpdh16-2.aruba.it [62.149.155.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F25B1B7 for ; Sun, 11 Jun 2023 10:46:12 -0700 (PDT) Received: from localhost.localdomain ([146.241.109.39]) by Aruba Outgoing Smtp with ESMTPSA id 8P7lqAnlZgE4H8P7lqw6vm; Sun, 11 Jun 2023 19:45:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1686505509; bh=/u2UIhs06EIdaw0lKNg8GbbMsebWmhpyhvCbLKiRVD0=; h=From:To:Subject:Date:MIME-Version; b=bv/Qh8ynFQUiOHjce3Yr61qJkFrb3XZ+FonG1QeQLlw42dpdd4THcTadxoCi09h8K G1mR+feHLL8fzgD9fN61hhwyZLgvUKdB4wQoNqEHzDQRkw1Rq8cEZSLhEHJd2k+9dU fjmOd5w86uQ6RmkdB1nMqpqdpvVm8E74Uka9xg2oT+aWXJ6yu9piJScB0LS5kt0l8C +WoKdgWu4DID8feYd9B2qFulIuSpOvkTx453kvdWwmHOq3BrktVEuSpZ4+iG58VLpv PnZrhSHS47qCmusWcXFrOfMdZUBK1Ys6zD7jiBAudi2+kkq3WSYEmYC/xNhEcN0GaX a63FzUmKTVp0w== From: Giulio Benetti To: linux-nfs@vger.kernel.org Cc: Bernd Kuhls , Giulio Benetti Subject: [PATCH] support/reexport: guard dlfcn.h include with HAVE_DLFCN_H Date: Sun, 11 Jun 2023 19:45:06 +0200 Message-Id: <20230611174506.3432934-1-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfNJ8hWLk+SeiB5BVAf+pnazzSw6W/Pm6Q8XFCiRwVt5odQzZSxEPJlu0+ZRUDv1xmdpJDRECJBRMeu2Rc17/zlFjKqIQzl+iyC5dGyWdHDOr0g6tUSRc We7KTxCWY9j4zUJRqqMeUVCVpdSeV8AoN9pzanlUVF7pyWfd2iKbqmG+MFiZ/wV5EhS83z8VIw5CB/PR4CWKNRtsEdaHuVuGnWET9puBckbay0VVI9vZcpYl KgYe3eI1w5sHkuMs1TUI5Ry96fh2O0vDfWwMBsE0tK6ARjhtFuBI/nAND4QoKS9m1n92w2xJmMNIC4YlvgEsh+Y740PDTdI03Nczl4Lp4Mc= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org From: Bernd Kuhls Signed-off-by: Bernd Kuhls Signed-off-by: Giulio Benetti --- support/reexport/fsidd.c | 2 ++ support/reexport/reexport.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/support/reexport/fsidd.c b/support/reexport/fsidd.c index 37649d06..d4b245e8 100644 --- a/support/reexport/fsidd.c +++ b/support/reexport/fsidd.c @@ -3,7 +3,9 @@ #endif #include +#ifdef HAVE_DLFCN_H #include +#endif #include #include #include diff --git a/support/reexport/reexport.c b/support/reexport/reexport.c index d597a2f7..d9a700af 100644 --- a/support/reexport/reexport.c +++ b/support/reexport/reexport.c @@ -2,7 +2,9 @@ #include #endif +#ifdef HAVE_DLFCN_H #include +#endif #include #include #include -- 2.34.1