1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

ntdb: Try to fix the build on Solaris which does not have err

This commit is contained in:
Andrew Bartlett 2012-09-23 13:20:45 +10:00
parent a4c54f6658
commit 08d3062fc3
3 changed files with 15 additions and 2 deletions

View File

@ -147,11 +147,11 @@ def build(bld):
ccan_module(bld, 'endian')
ccan_module(bld, 'likely', 'ccan-str')
ccan_module(bld, 'typesafe_cb')
ccan_module(bld, 'err', 'ccan-compiler')
# Failtest pulls in a lot of stuff, and it's only for unit tests.
if bld.env.DEVELOPER_MODE:
ccan_module(bld, 'container_of', 'ccan-check_type')
ccan_module(bld, 'err', 'ccan-compiler')
ccan_module(bld, 'htable', 'ccan-compiler')
ccan_module(bld, 'list', 'ccan-container_of')
ccan_module(bld, 'time')

View File

@ -155,7 +155,7 @@ def build(bld):
bld.SAMBA_BINARY('ntdbtorture',
'tools/ntdbtorture.c',
deps='ntdb',
deps='ntdb ccan-err',
install=False)
bld.SAMBA_BINARY('ntdbtool',

View File

@ -0,0 +1,13 @@
#ifndef __LIB_REPLACE_REPLACE_TEST_H__
#define __LIB_REPLACE_REPLACE_TEST_H__
#include <stdbool.h>
struct torture_context;
bool torture_local_replace(struct torture_context *ctx);
int libreplace_test_strptime(void);
int test_readdir_os2_delete(void);
int getifaddrs_test(void);
#endif /* __LIB_REPLACE_REPLACE_TEST_H__ */