Misc compile fixes

This commit is contained in:
Ryan Gonzalez 2017-04-15 20:31:58 -05:00 committed by Ivan
parent cc12302dd4
commit e447f071ce
5 changed files with 11 additions and 2 deletions

View File

@ -6,8 +6,11 @@
#include <unordered_map>
#include <algorithm>
#include <cstring>
#include <cerrno>
using namespace std::literals::string_literals;
#ifdef _WIN32
#include <cwchar>

View File

@ -1,6 +1,8 @@
#include "cond.h"
#include "sync.h"
#include <limits.h>
#ifndef _WIN32
#include <thread>
#endif

View File

@ -1,6 +1,8 @@
#include "mutex.h"
#include "sync.h"
#include <limits.h>
void shared_mutex::imp_lock_shared(s64 _old)
{
verify("shared_mutex overflow" HERE), _old <= c_max;

View File

@ -2,8 +2,9 @@
// Licensed under the terms of the GNU GPL, version 3
// http://www.gnu.org/licenses/gpl-3.0.txt
#include "utils.h"
#include <stdio.h>
#include "utils.h"
#include <cstring>
#include <stdio.h>
#include <time.h>
#include <memory>

View File

@ -1,5 +1,6 @@
#pragma once
#include <string>
#include <map>
#include <set>