Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-lb0-f171.google.com ([209.85.217.171]:46491 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754190AbaHFGZW (ORCPT ); Wed, 6 Aug 2014 02:25:22 -0400 Received: by mail-lb0-f171.google.com with SMTP id l4so1532008lbv.2 for ; Tue, 05 Aug 2014 23:25:21 -0700 (PDT) From: Natanael Copa To: linux-nfs@vger.kernel.org Cc: Natanael Copa Subject: [PATCH v2 09/11] include libgen.h for basename Date: Wed, 6 Aug 2014 08:25:04 +0200 Message-Id: <1407306306-29796-10-git-send-email-ncopa@alpinelinux.org> In-Reply-To: <1407306306-29796-1-git-send-email-ncopa@alpinelinux.org> References: <1407306306-29796-1-git-send-email-ncopa@alpinelinux.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: According POSIX basename(3) should have an #include There are a different GNU implementation too, that can be used with _GNU_SOURCE, but the POSIX version is good enough and more portable. Signed-off-by: Natanael Copa --- tools/rpcdebug/rpcdebug.c | 1 + utils/mount/mount.c | 1 + utils/mount/mount_libmount.c | 1 + utils/nfsd/nfsd.c | 1 + utils/nfsidmap/nfsidmap.c | 1 + 5 files changed, 5 insertions(+) diff --git a/tools/rpcdebug/rpcdebug.c b/tools/rpcdebug/rpcdebug.c index d6e10d3..18b1622 100644 --- a/tools/rpcdebug/rpcdebug.c +++ b/tools/rpcdebug/rpcdebug.c @@ -26,6 +26,7 @@ #include #include #include +#include /* RPC debug flags #include */ /* NFS debug flags diff --git a/utils/mount/mount.c b/utils/mount/mount.c index eea00af..91f1087 100644 --- a/utils/mount/mount.c +++ b/utils/mount/mount.c @@ -33,6 +33,7 @@ #include #include #include +#include #include "fstab.h" #include "xcommon.h" diff --git a/utils/mount/mount_libmount.c b/utils/mount/mount_libmount.c index 701d41e..6f85dc9 100644 --- a/utils/mount/mount_libmount.c +++ b/utils/mount/mount_libmount.c @@ -29,6 +29,7 @@ #include #include #include +#include #include diff --git a/utils/nfsd/nfsd.c b/utils/nfsd/nfsd.c index 03e3c81..201bb13 100644 --- a/utils/nfsd/nfsd.c +++ b/utils/nfsd/nfsd.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/utils/nfsidmap/nfsidmap.c b/utils/nfsidmap/nfsidmap.c index 3f51b4d..e0d31e7 100644 --- a/utils/nfsidmap/nfsidmap.c +++ b/utils/nfsidmap/nfsidmap.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include -- 2.0.4