[PATCH v2 1/1] Fix uClibc build on 64bit platforms by including stdint.h
Volker.Lendecke at SerNet.DE
Mon Aug 20 08:21:12 UTC 2018
On Sat, Aug 18, 2018 at 09:43:00AM +0200, Bernd Kuhls via samba-technical wrote:
> Fixes an error detected by buildroot autobuilders:
> error: conflicting types for 'uintptr_t'
> typedef unsigned long int uintptr_t;
> In file included from ../lib/ldb/tests/ldb_msg.c:17:0:
> ../third_party/cmocka/cmocka.h:126:28: note: previous declaration of 'uintptr_t' was here
> typedef unsigned int uintptr_t;
> The define __WORDSIZE is missing when cmocka.h decides how to
> define uintptr_t, this patch includes stdint.h when needed.
> Patch sent upstream:
I still consider this to be a cmocka bug, but as cmocka seems to not
cover this case, RB+. Another team reviewer?
More information about the samba-technical