mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 15:15:40 +00:00
Common/ByteStream: Add explicit include for alloca
This commit is contained in:
parent
6a74272fb4
commit
a50d18242d
|
@ -9,6 +9,7 @@
|
|||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include "windows_headers.h"
|
||||
#include <direct.h>
|
||||
|
@ -19,6 +20,12 @@
|
|||
#include <sys/types.h>
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <malloc.h>
|
||||
#else
|
||||
#include <alloca.h>
|
||||
#endif
|
||||
|
||||
Log_SetChannel(ByteStream);
|
||||
|
||||
class FileByteStream : public ByteStream
|
||||
|
|
Loading…
Reference in a new issue