summaryrefslogtreecommitdiff
path: root/source3/profile
diff options
context:
space:
mode:
Diffstat (limited to 'source3/profile')
-rw-r--r--source3/profile/profile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index 76f6386c51..20748e8f22 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -89,6 +89,8 @@ void set_profile_level(int level, struct server_id src)
#endif /* WITH_PROFILE */
}
+#ifdef WITH_PROFILE
+
/****************************************************************************
receive a set profile level message
****************************************************************************/
@@ -134,7 +136,6 @@ static void reqprofile_message(struct messaging_context *msg_ctx,
/*******************************************************************
open the profiling shared memory area
******************************************************************/
-#ifdef WITH_PROFILE
#ifdef HAVE_CLOCK_GETTIME