aboutsummaryrefslogtreecommitdiff
path: root/src/script/cpp_api
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/cpp_api')
-rw-r--r--src/script/cpp_api/s_async.h1
-rw-r--r--src/script/cpp_api/s_internal.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/script/cpp_api/s_async.h b/src/script/cpp_api/s_async.h
index 01c3ad005..38eb4800a 100644
--- a/src/script/cpp_api/s_async.h
+++ b/src/script/cpp_api/s_async.h
@@ -25,7 +25,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "threading/semaphore.h"
#include "threading/thread.h"
-#include "debug.h"
#include "lua.h"
#include "cpp_api/s_base.h"
diff --git a/src/script/cpp_api/s_internal.h b/src/script/cpp_api/s_internal.h
index fc049f922..83b3b9d27 100644
--- a/src/script/cpp_api/s_internal.h
+++ b/src/script/cpp_api/s_internal.h
@@ -32,7 +32,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "threading/mutex_auto_lock.h"
#ifdef SCRIPTAPI_LOCK_DEBUG
-#include "debug.h" // assert()
+#include <cassert>
class LockChecker {
public: