From fedf0b0d91fdf2a6ae0ef47acd4047f662bd3374 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 10 Feb 2005 03:48:43 +0000 Subject: r5296: - only include the tdb headers where they are needed - removed the u32 hack in events.c as I think this was only needed as tdb.h defines u32. Metze, can you check that this hack is indeed no longer needed on your suse system? (This used to be commit 6f79432fe656164d4770dbce114a30dda5e7bf9a) --- source4/ntvfs/common/brlock.c | 1 + source4/ntvfs/common/opendb.c | 1 + source4/ntvfs/posix/vfs_posix.c | 1 + source4/ntvfs/posix/xattr_tdb.c | 1 + 4 files changed, 4 insertions(+) (limited to 'source4/ntvfs') diff --git a/source4/ntvfs/common/brlock.c b/source4/ntvfs/common/brlock.c index d0385fbb0b..e88e9638a3 100644 --- a/source4/ntvfs/common/brlock.c +++ b/source4/ntvfs/common/brlock.c @@ -26,6 +26,7 @@ used. This allows us to provide the same semantics as NT */ #include "includes.h" +#include "lib/tdb/include/tdb.h" #include "messages.h" /* diff --git a/source4/ntvfs/common/opendb.c b/source4/ntvfs/common/opendb.c index 3c206528dd..be6f356422 100644 --- a/source4/ntvfs/common/opendb.c +++ b/source4/ntvfs/common/opendb.c @@ -39,6 +39,7 @@ */ #include "includes.h" +#include "lib/tdb/include/tdb.h" #include "messages.h" #include "librpc/gen_ndr/ndr_security.h" diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index 0ed878c1f0..529ff7a98b 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -28,6 +28,7 @@ #include "vfs_posix.h" #include "librpc/gen_ndr/ndr_security.h" #include "smbd/service_stream.h" +#include "lib/tdb/include/tdb.h" /* diff --git a/source4/ntvfs/posix/xattr_tdb.c b/source4/ntvfs/posix/xattr_tdb.c index 0184244aa8..29971ebeb5 100644 --- a/source4/ntvfs/posix/xattr_tdb.c +++ b/source4/ntvfs/posix/xattr_tdb.c @@ -22,6 +22,7 @@ #include "includes.h" #include "vfs_posix.h" +#include "lib/tdb/include/tdb.h" #define XATTR_LIST_ATTR ".xattr_list" -- cgit