1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/lib/ldb/tests
Bernd Kuhls 7c89edfe54 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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Aug 24 17:22:10 CEST 2018 on sn-devel-144
2018-08-24 17:22:09 +02:00
..
python PEP8: fix E502: the backslash is redundant between brackets 2018-08-24 07:49:30 +02:00
schema-tests
init_slapd.sh
init.ldif
kill_slapd.sh
ldapi_url.sh
ldb_kv_ops_test.c lib ldb: move key value code to lib/ldb/ldb_key_value 2018-07-30 14:31:54 +02:00
ldb_lmdb_size_test.c ldb_mdb/tests: Add tests to check for max key length and DB size 2018-05-23 02:27:11 +02:00
ldb_lmdb_test.c lib ldb: move key value code to lib/ldb/ldb_key_value 2018-07-30 14:31:54 +02:00
ldb_mod_op_test.c Fix uClibc build on 64bit platforms by including stdint.h 2018-08-24 17:22:09 +02:00
ldb_msg.c Fix uClibc build on 64bit platforms by including stdint.h 2018-08-24 17:22:09 +02:00
ldb_tdb_test.c lib ldb: move key value code to lib/ldb/ldb_key_value 2018-07-30 14:31:54 +02:00
photo.ldif
samba4.png
sample_module.c ldb:tests/sample_module: don't be lazy and use ldb_msg_copy_shallow/ldb_build_add_req 2015-03-20 20:43:12 +01:00
slapd.conf
start_slapd.sh
test_ldb_dn.c ldb: Add new function ldb_dn_add_child_val() 2018-08-15 07:08:24 +02:00
test_ldb_qsort.c ldb: Add test for ldb_qsort() 2018-04-03 20:20:10 +02:00
test-attribs.ldif
test-config.ldif
test-controls.sh
test-default-config.ldif
test-dup-2.ldif
test-dup.ldif
test-extended.sh
test-generic.sh LDB:test-generic.sh - fix smaller/greater comparison tests 2017-12-19 03:09:12 +01:00
test-index.ldif
test-ldap.sh
test-modify-modrdn.ldif
test-modify-unmet-2.ldif
test-modify-unmet.ldif
test-modify.ldif
test-schema.sh
test-soloading.sh
test-sqlite3.sh
test-tdb-features.sh ldb: Add test for behaviour of rdn_name 2016-12-01 05:54:23 +01:00
test-tdb-subunit.sh
test-tdb.sh ldb: Run the Python testsuite 2015-11-05 18:04:23 +01:00
test-wildcard.ldif
test-wrong_attributes.ldif
test.ldif ldb: Add more data test data for one level test cases 2013-02-08 06:46:40 +01:00
testdata.txt
testsearch.txt