diff options
author | Günther Deschner <gd@samba.org> | 2011-05-05 11:25:29 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-05-06 10:48:10 +0200 |
commit | d8cfca3a9bd2b6b6c562fd202377d95a98eb5472 (patch) | |
tree | 96fc9d454a01cbb2c26a8db22f41b8bf0dc40879 /source3/lib/eventlog | |
parent | 8aae59a277fe4bf5a1a84cb4730e5772c9ffca8c (diff) | |
download | samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.tar.gz samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.tar.bz2 samba-d8cfca3a9bd2b6b6c562fd202377d95a98eb5472.zip |
s3: only include tdb headers where needed.
Guenther
Diffstat (limited to 'source3/lib/eventlog')
-rw-r--r-- | source3/lib/eventlog/eventlog.c | 1 | ||||
-rw-r--r-- | source3/lib/eventlog/eventlog.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/eventlog/eventlog.c b/source3/lib/eventlog/eventlog.c index 4941199c5e..0ff0cb1fa8 100644 --- a/source3/lib/eventlog/eventlog.c +++ b/source3/lib/eventlog/eventlog.c @@ -24,6 +24,7 @@ #include "system/filesys.h" #include "lib/eventlog/eventlog.h" #include "../libcli/security/security.h" +#include "util_tdb.h" /* maintain a list of open eventlog tdbs with reference counts */ diff --git a/source3/lib/eventlog/eventlog.h b/source3/lib/eventlog/eventlog.h index 29c25c3122..b485bfe08e 100644 --- a/source3/lib/eventlog/eventlog.h +++ b/source3/lib/eventlog/eventlog.h @@ -17,6 +17,8 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include <tdb.h> + /* Defines for TDB keys */ #define EVT_OLDEST_ENTRY "INFO/oldest_entry" #define EVT_NEXT_RECORD "INFO/next_record" |