summaryrefslogtreecommitdiff
path: root/source3/smbd/statcache.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-05 11:25:29 +0200
committerGünther Deschner <gd@samba.org>2011-05-06 10:48:10 +0200
commitd8cfca3a9bd2b6b6c562fd202377d95a98eb5472 (patch)
tree96fc9d454a01cbb2c26a8db22f41b8bf0dc40879 /source3/smbd/statcache.c
parent8aae59a277fe4bf5a1a84cb4730e5772c9ffca8c (diff)
downloadsamba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.tar.gz
samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.tar.bz2
samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.zip
s3: only include tdb headers where needed.
Guenther
Diffstat (limited to 'source3/smbd/statcache.c')
-rw-r--r--source3/smbd/statcache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index 5c74b92855..e2ccc74a87 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -25,6 +25,7 @@
#include "smbd/smbd.h"
#include "messages.h"
#include "smbprofile.h"
+#include <tdb.h>
/****************************************************************************
Stat cache code used in unix_convert.
@@ -376,7 +377,7 @@ void stat_cache_delete(const char *name)
JRA. Use a djb-algorithm hash for speed.
***************************************************************/
-unsigned int fast_string_hash(TDB_DATA *key)
+unsigned int fast_string_hash(struct TDB_DATA *key)
{
unsigned int n = 0;
const char *p;