All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] keytable: Fix missing inclusion of argp.h
@ 2020-07-09 17:48 Ismael Luceno
  2020-07-10 15:27 ` Sean Young
  0 siblings, 1 reply; 2+ messages in thread
From: Ismael Luceno @ 2020-07-09 17:48 UTC (permalink / raw)
  To: linux-media; +Cc: Ismael Luceno

error_t is only defined by argp.h on non-glibc systems.

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
---
 utils/keytable/bpf_load.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/keytable/bpf_load.c b/utils/keytable/bpf_load.c
index 9f64cf4e91e8..7ae9af4a57be 100644
--- a/utils/keytable/bpf_load.c
+++ b/utils/keytable/bpf_load.c
@@ -13,6 +13,7 @@
 #include <stdlib.h>
 #include <linux/bpf.h>
 #include <assert.h>
+#include <argp.h>
 #include "keymap.h"
 #include "bpf.h"
 #include "bpf_load.h"
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] keytable: Fix missing inclusion of argp.h
  2020-07-09 17:48 [PATCH] keytable: Fix missing inclusion of argp.h Ismael Luceno
@ 2020-07-10 15:27 ` Sean Young
  0 siblings, 0 replies; 2+ messages in thread
From: Sean Young @ 2020-07-10 15:27 UTC (permalink / raw)
  To: Ismael Luceno; +Cc: linux-media

Hi,

On Thu, Jul 09, 2020 at 07:48:31PM +0200, Ismael Luceno wrote:
> error_t is only defined by argp.h on non-glibc systems.
> 
> Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
> ---
>  utils/keytable/bpf_load.c | 1 +
>  1 file changed, 1 insertion(+)

Thank you, this does indeed fix the BPF build on alpine linux. I've
push the patch to master and the stable-1.20 branch.

Sean

> 
> diff --git a/utils/keytable/bpf_load.c b/utils/keytable/bpf_load.c
> index 9f64cf4e91e8..7ae9af4a57be 100644
> --- a/utils/keytable/bpf_load.c
> +++ b/utils/keytable/bpf_load.c
> @@ -13,6 +13,7 @@
>  #include <stdlib.h>
>  #include <linux/bpf.h>
>  #include <assert.h>
> +#include <argp.h>
>  #include "keymap.h"
>  #include "bpf.h"
>  #include "bpf_load.h"
> -- 
> 2.27.0

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-10 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-09 17:48 [PATCH] keytable: Fix missing inclusion of argp.h Ismael Luceno
2020-07-10 15:27 ` Sean Young

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.