Otherwise throwing the following error: lib/core.c:102:9: error: implicit declaration of function 'basename' is invalid in C99 Signed-off-by: Gary Bisson <gary.bisson@xxxxxxxxxxxxxxxxxxx> --- lib/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core.c b/lib/core.c index f704b44..b71a284 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.26.2