summaryrefslogtreecommitdiff
path: root/source3/profile
diff options
context:
space:
mode:
Diffstat (limited to 'source3/profile')
-rw-r--r--source3/profile/profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index bbcfc780e8..689f67da99 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -25,8 +25,10 @@
#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
#endif /* WITH_PROFILE */
+#ifdef WITH_PROFILE
static int shm_id;
static BOOL read_only;
+#endif
struct profile_header *profile_h;
struct profile_stats *profile_p;