From 502135df9f0d839e75907260f5dcdab4052d995e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 23 Sep 2012 13:39:01 +1000 Subject: lib/replace: Try to fix build on HP-UX for os2_delete test The issue is that this file is both used in an autoconf test, and later in a smbtorture test. Because os2_delete.c does not include replace.h, bool may not be defined. So, instead we shift the need for bool to a different header. (The readdir tests in repdir.m4 are not yet in the waf configure). Andrew Bartlett --- lib/replace/replace-testsuite.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lib/replace/replace-testsuite.h') diff --git a/lib/replace/replace-testsuite.h b/lib/replace/replace-testsuite.h index a522853351..b28dbec067 100644 --- a/lib/replace/replace-testsuite.h +++ b/lib/replace/replace-testsuite.h @@ -1,13 +1,10 @@ -#ifndef __LIB_REPLACE_REPLACE_TEST_H__ -#define __LIB_REPLACE_REPLACE_TEST_H__ +#ifndef __LIB_REPLACE_REPLACE_TESTSUITE_H__ +#define __LIB_REPLACE_REPLACE_TESTSUITE_H__ #include 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__ */ +#endif /* __LIB_REPLACE_REPLACE_TESTSUITE_H__ */ -- cgit