along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
#include "tdb2.h"
#include <assert.h>
+#ifdef HAVE_LIBREPLACE
+#include <replace.h>
+#include <system/filesys.h>
+#else
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
+#endif
#define debug_fprintf(file, fmt, ...) do {/*nothing*/} while (0)