Skip to contentSkip to conversation

idmapd: Add missing libgen header

PATCH In review Rosen Penev 2 participants 2 messages Apr 15, 2019 – Apr 16, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 idmapd: Add missing libgen header

Otherwise compilation can fail with an implicit declaration of basename.

---
 utils/idmapd/idmapd.c | 1 +
 1 file changed, 1 insertion(+)
utils/idmapd/idmapd.c +1 -0
index 91c0253..62e37b8 100644
@@ -59,6 +59,7 @@
 #include <grp.h>
 #include <limits.h>
 #include <ctype.h>
+#include <libgen.h>
 #include <nfsidmap.h>
 
 #ifdef HAVE_CONFIG_H
Signature · 1 line
2.17.1
#1 lore raw
Quoted 3 lines · Rosen Penev

Otherwise compilation can fail with an implicit declaration of basename.

Committed...

steved.

Quoted 17 lines
---
 utils/idmapd/idmapd.c | 1 +
 1 file changed, 1 insertion(+)
utils/idmapd/idmapd.c +1 -0
index 91c0253..62e37b8 100644
@@ -59,6 +59,7 @@
 #include <grp.h>
 #include <limits.h>
 #include <ctype.h>
+#include <libgen.h>
 #include <nfsidmap.h>
 
 #ifdef HAVE_CONFIG_H