diff --git a/aegisub/build/standard-settings.props b/aegisub/build/standard-settings.props
index f642461d8..a34349686 100644
--- a/aegisub/build/standard-settings.props
+++ b/aegisub/build/standard-settings.props
@@ -23,6 +23,7 @@
$(BoostPath);
%(AdditionalIncludeDirectories)
+ 4345
$(AegisubSourceBase)include;%(AdditionalIncludeDirectories)
diff --git a/aegisub/src/audio_provider_ram.h b/aegisub/src/audio_provider_ram.h
index 2edeb9d55..67a4bc3a9 100644
--- a/aegisub/src/audio_provider_ram.h
+++ b/aegisub/src/audio_provider_ram.h
@@ -34,6 +34,7 @@
#include "include/aegisub/audio_provider.h"
+#include
#include
namespace agi {
@@ -42,7 +43,11 @@ namespace agi {
}
class RAMAudioProvider : public AudioProvider {
+#ifdef _MSC_VER
boost::container::stable_vector blockcache;
+#else
+ boost::container::stable_vector> blockcache;
+#endif
bool samples_native_endian;
void FillCache(AudioProvider *source, agi::ProgressSink *ps);