mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-28 10:35:42 -04:00
HostInterface: Fix compile error on Linux
This commit is contained in:
parent
d88fc20434
commit
0590f0935c
@ -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(), '/');
|
||||
|
Loading…
x
Reference in New Issue
Block a user