HostInterface: Fix compile error on Linux

This commit is contained in:
Connor McLaughlin 2020-01-04 15:25:15 +10:00
parent d88fc20434
commit 0590f0935c
1 changed files with 2 additions and 2 deletions

View File

@ -12,6 +12,8 @@
#include "spu.h"
#include "system.h"
#include "timers.h"
#include <cstring>
#include <cmath>
#include <imgui.h>
Log_SetChannel(HostInterface);
@ -23,8 +25,6 @@ Log_SetChannel(HostInterface);
#if defined(ANDROID) || (defined(__GNUC__) && __GNUC__ < 8)
#include <cstring>
static std::string GetRelativePath(const std::string& path, const char* new_filename)
{
const char* last = std::strrchr(path.c_str(), '/');