diff --git a/src/util-profiling-locks.c b/src/util-profiling-locks.c index 97cc3e0d8a..7719e6d5b7 100644 --- a/src/util-profiling-locks.c +++ b/src/util-profiling-locks.c @@ -24,13 +24,13 @@ * */ -#ifdef PROFILING -#ifdef PROFILE_LOCKING - #include "suricata-common.h" #include "util-profiling-locks.h" #include "util-hashlist.h" +#ifdef PROFILING +#ifdef PROFILE_LOCKING + __thread ProfilingLock locks[PROFILING_MAX_LOCKS]; __thread int locks_idx = 0; __thread int record_locks = 0;