1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib
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
..
addns addns: Fix a typo 2018-06-16 04:21:17 +02:00
afs waf: add --with-fake-kaserver option 2014-06-04 20:09:38 +02:00
async_req lib/async_req/async_sock.c set socket close on exec 2017-12-18 04:38:19 +01:00
audit_logging lib audit_logging: add _WARN_UNUSED_RESULT_ 2018-07-25 09:28:31 +02:00
compression lib/compression/tests: add missing #include "torture/local/proto.h" 2014-04-02 09:03:44 +02:00
crypto lib/crypto: avoid 'return void_function();' which isn't portable 2018-04-03 16:41:09 +02:00
dbwrap dbwrap: Fix a typo 2018-08-17 18:25:08 +02:00
krb5_wrap krb5_wrap: fix keep_old_entries logic for older kerberos libraries 2018-06-23 00:57:47 +02:00
ldb Fix uClibc build on 64bit platforms by including stdint.h 2018-08-24 17:22:09 +02:00
ldb-samba ldb tests: remove unused code from match_rules.py 2018-08-24 07:49:31 +02:00
mscat lib: Add support to parse MS Catalog files 2018-08-09 19:57:02 +02:00
param smb.conf: add dns_zone_scavenging 2018-07-12 04:31:51 +02:00
pthreadpool pthreadpool: reset monitor_fd after calling tevent_fd_set_auto_close() 2018-07-31 11:26:16 +02:00
replace lib/replace: also check for valgrind/helgrind.h 2018-07-24 17:38:27 +02:00
smbconf Correct "occured" typos. 2017-02-22 08:26:21 +01:00
socket lib:socket: Return early if we have only one interface 2018-03-20 23:16:16 +01:00
talloc PEP8: fix E302: expected 2 blank lines, found 1 2018-08-24 07:49:29 +02:00
tdb tdb: test for readonly locks mode on tdbbackup command 2018-08-06 05:37:42 +02:00
tdb_wrap tdb_wrap: Use a struct initializer 2015-07-23 14:39:18 +02:00
tdr lib: Fix 1354521 Unchecked return value 2016-03-01 21:49:44 +01:00
tevent PEP8: fix E306: expected 1 blank line before a nested definition, found 0 2018-08-24 07:49:30 +02:00
texpect lib:texpect: Avoid some compiler warnings 2018-03-01 04:37:41 +01:00
torture selftest: consistently produce high-res UTC time 2018-03-22 13:26:44 +01:00
tsocket tsocket: Fix typos 2018-01-04 00:37:20 +01:00
util s3: util: Do not take over stderr when there is no log file 2018-08-18 01:32:25 +02:00
README build: Move nss_wrapper to third_party 2017-11-25 10:14:13 +01:00
wscript_build Remove 'external' python module support code - use the third_party directory instead. 2015-03-06 04:41:48 +01:00

compression - Various compression algorithms (MSZIP, lzxpress)
dnspython - Python module for working with DNS.
popt - Command-line option parsing library
replace - Provides replacements for standard (POSIX, C99) functions 
          not provided by the host platform.
subunit - Utilities and bindings for working with the Subunit test result 
          reporting protocol.
talloc - Hierarchical pool based memory allocator 
tdb - Simple but fast key/value database library, supporting multiple writers
torture - Simple unit testing helper library