From: Rosen Penev <rosenp@gmail.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH] idmapd: Add missing libgen header
Date: Sun, 14 Apr 2019 19:11:40 -0700 [thread overview]
Message-ID: <20190415021140.1388-1-rosenp@gmail.com> (raw)
Otherwise compilation can fail with an implicit declaration of basename.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
utils/idmapd/idmapd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/utils/idmapd/idmapd.c b/utils/idmapd/idmapd.c
index 91c0253..62e37b8 100644
--- a/utils/idmapd/idmapd.c
+++ b/utils/idmapd/idmapd.c
@@ -59,6 +59,7 @@
#include <grp.h>
#include <limits.h>
#include <ctype.h>
+#include <libgen.h>
#include <nfsidmap.h>
#ifdef HAVE_CONFIG_H
--
2.17.1
next reply other threads:[~2019-04-15 2:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-15 2:11 Rosen Penev [this message]
2019-04-16 18:27 ` [PATCH] idmapd: Add missing libgen header Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190415021140.1388-1-rosenp@gmail.com \
--to=rosenp@gmail.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox