[Buildroot] [PATCH 1/1] package/psmisc: fix musl build
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Feb 7 14:01:20 UTC 2016
Dear Bernd Kuhls,
On Sun, 31 Jan 2016 13:16:05 +0100, Bernd Kuhls wrote:
> Add upstream commit fixing a build error not yet been found by the
> autobuilders:
>
> pstree.c: In function ‘get_threadname’:
> pstree.c:798:15: error: ‘PATH_MAX’ undeclared (first use in this function)
> char path[PATH_MAX + 1];
> ^
> pstree.c:798:15: note: each undeclared identifier is reported only once for each function it appears in
> pstree.c:798:10: warning: unused variable ‘path’ [-Wunused-variable]
> char path[PATH_MAX + 1];
> ^
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
> ---
> package/psmisc/psmisc.hash | 1 +
> package/psmisc/psmisc.mk | 2 ++
> 2 files changed, 3 insertions(+)
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