summaryrefslogtreecommitdiff
path: root/source3/profile
diff options
context:
space:
mode:
Diffstat (limited to 'source3/profile')
-rw-r--r--source3/profile/profile.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index 72954f90c9..c2d9b4ce89 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -23,10 +23,7 @@
#include "includes.h"
#ifdef WITH_PROFILE
-
-#ifndef HAVE_SYSV_IPC
-#error "You must have SYSV shared memory to compile in the profiling code"
-#endif
+#include <sys/shm.h>
extern int DEBUGLEVEL;