From: Gary Bisson <gary.bisson@boundarydevices.com>
To: linux-gpio@vger.kernel.org
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Subject: [libgpiod][PATCH 1/3] core: add missing header inclusion
Date: Mon, 8 Jun 2020 11:06:50 +0200 [thread overview]
Message-ID: <20200608090652.805516-2-gary.bisson@boundarydevices.com> (raw)
In-Reply-To: <20200608090652.805516-1-gary.bisson@boundarydevices.com>
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@boundarydevices.com>
---
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
next prev parent reply other threads:[~2020-06-08 9:06 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-08 9:06 [libgpiod][PATCH 0/3] Add Android build support Gary Bisson
2020-06-08 9:06 ` Gary Bisson [this message]
2020-06-08 9:06 ` [libgpiod][PATCH 2/3] tools-common: fix build for Android Gary Bisson
2020-08-10 19:15 ` Bartosz Golaszewski
2020-08-17 8:23 ` Gary Bisson
2020-08-17 13:04 ` Bartosz Golaszewski
2020-08-18 16:04 ` Gary Bisson
2020-06-08 9:06 ` [libgpiod][PATCH 3/3] Android.bp: initial addition Gary Bisson
2020-08-10 19:51 ` Bartosz Golaszewski
2020-08-17 8:38 ` Gary Bisson
2020-08-17 16:24 ` Bartosz Golaszewski
2020-08-18 16:01 ` Bartosz Golaszewski
2020-08-18 16:05 ` Gary Bisson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200608090652.805516-2-gary.bisson@boundarydevices.com \
--to=gary.bisson@boundarydevices.com \
--cc=linux-gpio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).