summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/debug_new.cpp2
-rw-r--r--src/debug/fast_mutex.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/debug/debug_new.cpp b/src/debug/debug_new.cpp
index 30834feed..bb7e64346 100644
--- a/src/debug/debug_new.cpp
+++ b/src/debug/debug_new.cpp
@@ -55,6 +55,8 @@
#include "debug/fast_mutex.h"
#include "debug/static_assert.h"
+#include "localconsts.h"
+
//define DUMP_MEM_ADDRESSES 1
#if !_FAST_MUTEX_CHECK_INITIALIZATION && !defined(_NOTHREADS)
diff --git a/src/debug/fast_mutex.h b/src/debug/fast_mutex.h
index 1380c683b..f18c06dbc 100644
--- a/src/debug/fast_mutex.h
+++ b/src/debug/fast_mutex.h
@@ -42,6 +42,8 @@
#ifndef M_FAST_MUTEX_H
#define M_FAST_MUTEX_H
+#include "localconsts.h"
+
# if !defined(_NOTHREADS)
# if !defined(_WIN32THREADS) && \
(defined(_WIN32) && defined(_MT))