mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +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 <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#include "windows_headers.h"
|
#include "windows_headers.h"
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
|
@ -19,6 +20,12 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
#include <malloc.h>
|
||||||
|
#else
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
Log_SetChannel(ByteStream);
|
Log_SetChannel(ByteStream);
|
||||||
|
|
||||||
class FileByteStream : public ByteStream
|
class FileByteStream : public ByteStream
|
||||||
|
|
Loading…
Reference in a new issue