[Buildroot] [PATCH v2 2/2] wayland: fix musl build issue

Peter Korsgaard peter at korsgaard.com
Wed Aug 17 06:36:25 UTC 2016


>>>>> "Rahul" == Rahul Bedarkar <rahul.bedarkar at imgtec.com> writes:

 > With musl C library, we see following build failure.
 >   src/scanner.c: In function 'find_enumeration':
 >   src/scanner.c:811:2: error: unknown type name 'uint'
 >     uint idx = 0, j;
 >     ^

 > uint is defined in <sys/types.h> header. It is usually included by <stdlib.h>
 > but in musl stdlib.h doesn't include it.

 > This patch adds upstream patch where uint32_t is used instead of uint.

 > Fixes:

 >   http://autobuild.buildroot.net/results/fcf/fcf6dd3bd31f92eadbcae17338e5887a23e43ff9/

 > Cc: Khem Raj <raj.khem at gmail.com>
 > Signed-off-by: Rahul Bedarkar <rahul.bedarkar at imgtec.com>
 > ---
 > Changes v1 -> v2:
 >   - Backport upstream patch instead of adding new patch (suggested by Khem Raj)

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list