[Buildroot] [PATCH v1] fbterm: fix musl compile (missing string.h include)

Peter Korsgaard peter at korsgaard.com
Fri Feb 19 15:37:22 UTC 2016


>>>>> "Peter" == Peter Seiderer <ps.report at gmx.net> writes:

 > Fixes [1]:
 >   mouse.cpp: In function 's32 open_gpm(Gpm_Connect*)':
 >   mouse.cpp:58:37: error: 'memset' was not declared in this scope
 >     memset((s8 *)&addr, 0, sizeof(addr));
 >                                      ^
 >   mouse.cpp:60:64: error: 'strncpy' was not declared in this scope
 >     strncpy(addr.sun_path, GPM_NODE_CTL, sizeof(addr.sun_path) - 1);

 > in case BR2_PACKAGE_GPM is defined.

 > Add proper gpm dependency and configure option too.

 > [1] http://autobuild.buildroot.net/results/a60/a602d61e68f662217ad868de79711a8ea892a3a9

 > Signed-off-by: Peter Seiderer <ps.report at gmx.net>

Committed, thanks. Don't forget to send the patch upstream.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list