lib/replace: Try to fix build on HP-UX for os2_delete test
commit502135df9f0d839e75907260f5dcdab4052d995e
authorAndrew Bartlett <abartlet@samba.org>
Sun, 23 Sep 2012 03:39:01 +0000 (23 13:39 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 23 Sep 2012 04:31:01 +0000 (23 14:31 +1000)
tree8a8de1389044455696e6036dc15601ea7adb19e0
parent08d3062fc3ece6b5d98e32bad5f1d54c088b0dd0
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-test.h
lib/replace/replace-testsuite.h
lib/replace/test/main.c
lib/replace/test/testsuite.c
source4/torture/local/local.c