summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-14 00:36:23 +0200
committerGünther Deschner <gd@samba.org>2011-04-14 01:31:39 +0200
commit165521e20d8aea1e35cc68e39ced57de64f8e560 (patch)
treeffd267165125021325bd46958d212b83679665e2 /source3/nmbd
parent1b4d27d45a55c66ed20de64c2fe299583a710ddd (diff)
downloadsamba-165521e20d8aea1e35cc68e39ced57de64f8e560.tar.gz
samba-165521e20d8aea1e35cc68e39ced57de64f8e560.tar.bz2
samba-165521e20d8aea1e35cc68e39ced57de64f8e560.zip
s3: only include smb profiling where needed.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_elections.c1
-rw-r--r--source3/nmbd/nmbd_incomingdgrams.c1
-rw-r--r--source3/nmbd/nmbd_synclists.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_elections.c b/source3/nmbd/nmbd_elections.c
index 4c9c9d9151..899c273fe0 100644
--- a/source3/nmbd/nmbd_elections.c
+++ b/source3/nmbd/nmbd_elections.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "nmbd/nmbd.h"
+#include "smbprofile.h"
/* Election parameters. */
extern time_t StartupTime;
diff --git a/source3/nmbd/nmbd_incomingdgrams.c b/source3/nmbd/nmbd_incomingdgrams.c
index cc657e3962..6993e18358 100644
--- a/source3/nmbd/nmbd_incomingdgrams.c
+++ b/source3/nmbd/nmbd_incomingdgrams.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/svcctl.h"
#include "nmbd/nmbd.h"
+#include "smbprofile.h"
extern bool found_lm_clients;
diff --git a/source3/nmbd/nmbd_synclists.c b/source3/nmbd/nmbd_synclists.c
index 2fd510cedd..fc2b25edca 100644
--- a/source3/nmbd/nmbd_synclists.c
+++ b/source3/nmbd/nmbd_synclists.c
@@ -31,6 +31,7 @@
#include "../librpc/gen_ndr/svcctl.h"
#include "nmbd/nmbd.h"
#include "libsmb/clirap.h"
+#include "smbprofile.h"
struct sync_record {
struct sync_record *next, *prev;