profiling: fix lock profile compilation

pull/1772/head
Victor Julien 9 years ago
parent ac476de5ed
commit 019f856442

@ -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;

Loading…
Cancel
Save