#include "smbd/smbd.h"
#include "messages.h"
#include "smbprofile.h"
-#include <tdb.h>
+#include "tdb_compat.h"
/****************************************************************************
Stat cache code used in unix_convert.
JRA. Use a djb-algorithm hash for speed.
***************************************************************/
-unsigned int fast_string_hash(struct TDB_DATA *key)
+unsigned int fast_string_hash(TDB_DATA *key)
{
unsigned int n = 0;
const char *p;