diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-05-11 00:07:50 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-05-15 04:03:37 +0000 |
commit | d1447aa8b54ceae3875fdc4d03d0be447f8db59a (patch) | |
tree | 8041b4e821283e4083e5cbfbc4079c578be1376c /source3/registry | |
parent | 85b6f71c65e7bfb167064f574a080bc81f7af16d (diff) | |
download | samba-d1447aa8b54ceae3875fdc4d03d0be447f8db59a.tar.gz |
test_regfio.c: include stdint.h before cmoka.h
This fix the following build failure on mips64el:
/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/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 ../source3/registry/tests/test_regfio.c:23:0:
../third_party/cmocka/cmocka.h:126:28: note: previous declaration of 'uintptr_t' was here
typedef unsigned int uintptr_t;
Fixes:
- http://autobuild.buildroot.org/results/bae0508e84c905dc23ad7cf1153cd1e9d8e4d734
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r-- | source3/registry/tests/test_regfio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/registry/tests/test_regfio.c b/source3/registry/tests/test_regfio.c index 86a217661f3..f945e653708 100644 --- a/source3/registry/tests/test_regfio.c +++ b/source3/registry/tests/test_regfio.c @@ -20,6 +20,7 @@ #include <stdarg.h> #include <stddef.h> #include <setjmp.h> +#include <stdint.h> #include <cmocka.h> #include <errno.h> |