lib/tdb2: Do not include config.h in (to-be) public library, use replace.
authorAmitay Isaacs <amitay@gmail.com>
Tue, 21 Feb 2012 04:59:17 +0000 (15:29 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 21 Feb 2012 04:59:17 +0000 (15:29 +1030)
commita63d731ae05af78bdc33db58880387169429753e
treed9a982ea780c7bd87edf9624d19f22a483e3d1df
parente6901fa35069e234044c94b87ac9df4064b31d1c
lib/tdb2: Do not include config.h in (to-be) public library, use replace.

Like tdb1, it's the caller's responsibility to set up various config
options (eg. by #include "config.h") before including the public
header.

We use HAVE_CCAN for including the (private) CCAN headers, otherwise
dummy macros are used.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb2/private.h
lib/tdb2/tdb2.h