1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00
Fabrice Fontaine 519d72c578 Fix uClibc build on 64bit platforms by including stdint.h
Fixes an error detected by buildroot autobuilders:
http://autobuild.buildroot.net/results/573/573e2268e205e10d1352fa81122d8f225fdb4575/build-end.log

/home/rclinux/rc-buildroot-test/scripts/instance-1/output/host/mips64el-buildroot-linux-uclibc/sysroot/usr/include/stdint.h:122:27:
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:
https://lists.samba.org/archive/samba-technical/2018-January/125306.html

[updated for samba-4.8.4, v2 sent upstream
 https://lists.samba.org/archive/samba-technical/2018-August/129732.html,
 updated for samba-4.9.1]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/samba4/0003-Fix-uClibc-build-on-64bit-platforms-by-including-std.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2019-05-19 17:34:20 +00:00
..
2018-12-11 00:40:30 +01:00
2012-03-24 17:11:11 +01:00
2018-07-24 20:36:49 +02:00
2018-05-12 02:09:26 +02:00
2018-08-17 11:30:10 +02:00
2016-07-28 05:00:18 +02:00
2019-05-08 17:47:39 +00:00
2017-05-10 15:53:20 +02:00
2019-02-28 13:53:40 +00:00
2019-02-28 13:53:40 +00:00
2017-02-15 02:28:16 +01:00
2017-01-22 18:30:11 +01:00
2018-12-20 23:40:25 +01:00
2015-10-13 01:23:07 +02:00
2017-12-05 04:58:26 +01:00
2018-08-17 11:30:11 +02:00
2018-07-24 20:36:50 +02:00
2019-02-17 13:33:13 +01:00
2016-02-23 22:03:16 +01:00
2015-03-17 11:30:52 +01:00
2017-01-22 18:30:11 +01:00
2012-04-17 10:21:02 +02:00
2012-07-18 15:54:20 -07:00
2019-02-06 07:11:30 +01:00
2012-05-15 18:24:10 +02:00
2018-08-17 14:28:51 +02:00
2018-08-17 14:28:51 +02:00
2016-12-28 20:17:12 +01:00
2018-12-20 23:40:26 +01:00
2016-01-10 22:24:17 +01:00
2016-01-10 22:24:17 +01:00
2016-12-28 20:17:13 +01:00
2018-12-20 23:40:25 +01:00
2019-02-28 13:53:40 +00:00
2018-10-19 18:52:50 +02:00