Re: [PATCH] keytable: Fix missing inclusion of argp.h

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

 



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@xxxxxxxxxxx>
> ---
>  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



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux