[libgpiod,v1.6.x,2/3] core: add missing #include for basename()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a standard include, it looks like an error that it's missing.
Probably pulled in transitively by one of the other includes on some/
most other platforms.

Signed-off-by: Benjamin Li <benl@xxxxxxxxxxxx>
---
 lib/core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/core.c b/lib/core.c
index 35dcd8e..cf1d677 100644
--- a/lib/core.c
+++ b/lib/core.c
@@ -10,6 +10,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <gpiod.h>
+#include <libgen.h>
 #include <limits.h>
 #include <linux/gpio.h>
 #include <poll.h>
-- 
2.25.1




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux