diff mbox series

idmapd: Add missing libgen header

Message ID 20190415021140.1388-1-rosenp@gmail.com (mailing list archive)
State New, archived
Headers show
Series idmapd: Add missing libgen header | expand

Commit Message

Rosen Penev April 15, 2019, 2:11 a.m. UTC
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(+)

Comments

Steve Dickson April 16, 2019, 6:27 p.m. UTC | #1
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
>
diff mbox series

Patch

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