X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftdb%2Ftdb_private.h;h=c460af4e8dd87d0219dab7e5c1a88089488846fd;hp=9942e503da7e4298535b3cf7f87b67d7cffaab94;hb=46b1a03e21303e03b68de213b41c0840767fbc96;hpb=2c67a284d11b5b030d8095df7ff2b31275d7d29c diff --git a/ccan/tdb/tdb_private.h b/ccan/tdb/tdb_private.h index 9942e503..c460af4e 100644 --- a/ccan/tdb/tdb_private.h +++ b/ccan/tdb/tdb_private.h @@ -1,3 +1,5 @@ +#ifndef TDB_PRIVATE_H +#define TDB_PRIVATE_H /* Unix SMB/CIFS implementation. @@ -42,10 +44,12 @@ #include #include #include +#include +#include "config.h" #endif #include "tdb.h" -#ifndef HAVE_GETPAGESIZE +#if HAVE_GETPAGESIZE #define getpagesize() 0x2000 #endif @@ -225,3 +229,4 @@ int tdb_rec_free_read(struct tdb_context *tdb, tdb_off_t off, struct list_struct *rec); +#endif