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:
parent
a4c54f6658
commit
08d3062fc3
@ -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')
|
||||
|
@ -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',
|
||||
|
13
lib/replace/replace-testsuite.h
Normal file
13
lib/replace/replace-testsuite.h
Normal 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__ */
|
||||
|
Loading…
Reference in New Issue
Block a user