linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] idmapd: Add missing libgen header
@ 2019-04-15  2:11 Rosen Penev
  2019-04-16 18:27 ` Steve Dickson
  0 siblings, 1 reply; 2+ messages in thread
From: Rosen Penev @ 2019-04-15  2:11 UTC (permalink / raw)
  To: linux-nfs

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] idmapd: Add missing libgen header
  2019-04-15  2:11 [PATCH] idmapd: Add missing libgen header Rosen Penev
@ 2019-04-16 18:27 ` Steve Dickson
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Dickson @ 2019-04-16 18:27 UTC (permalink / raw)
  To: Rosen Penev, linux-nfs



On 4/14/19 10:11 PM, Rosen Penev wrote:
> Otherwise compilation can fail with an implicit declaration of basename.
> 
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
Committed... 

steved.

> ---
>  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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-16 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-15  2:11 [PATCH] idmapd: Add missing libgen header Rosen Penev
2019-04-16 18:27 ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).