mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 15:39:41 +00:00
Fix missing includes
This commit is contained in:
parent
e185d186bf
commit
38b6927b31
3 changed files with 5 additions and 2 deletions
|
@ -161,7 +161,8 @@ namespace MWGui
|
|||
std::string addition;
|
||||
const int64_t bufSize = sLogCircularBuffer.size();
|
||||
{
|
||||
std::unique_lock<std::mutex> lock = Log::lock();
|
||||
// Keep log object to stay keep the lock.
|
||||
Log log(Debug::Debug);
|
||||
if (sLogStartIndex < sLogEndIndex)
|
||||
addition = std::string(sLogCircularBuffer.data() + sLogStartIndex, sLogEndIndex - sLogStartIndex);
|
||||
else
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <cstdlib>
|
||||
#include <iomanip>
|
||||
#include <chrono>
|
||||
|
||||
#include <components/compiler/extensions.hpp>
|
||||
#include <components/compiler/opcodes.hpp>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
#include <thread>
|
||||
|
||||
#include <SDL_messagebox.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue