[Buildroot] [PATCH 1/1] package/x11r7/xdriver_xf86-input-keyboard: Fix compile error

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Apr 18 17:11:41 UTC 2015


Dear Bernd Kuhls,

On Sat, 18 Apr 2015 18:39:29 +0200, Bernd Kuhls wrote:
> lnx_kbd.c: In function 'OpenKeyboard':
> lnx_kbd.c:194:8: error: implicit declaration of function 'getpgid' [-Werror=implicit-function-declaration]
>         rc = tcsetpgrp(pInfo->fd, getpgid(0));
>         ^
> lnx_kbd.c:194:8: warning: nested extern declaration of 'getpgid' [-Wnested-externs]
> cc1: some warnings being treated as errors
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
>  .../x11r7/xdriver_xf86-input-keyboard/xdriver_xf86-input-keyboard.mk  |    1 +
>  1 file changed, 1 insertion(+)

Applied, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list