Common/ByteStream: Add explicit include for alloca

This commit is contained in:
Connor McLaughlin 2021-07-04 18:27:39 +10:00
parent 6a74272fb4
commit a50d18242d
1 changed files with 7 additions and 0 deletions

View File

@ -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