diff --git a/libs/ardour/MSVClibardour/ardour.vcproj b/libs/ardour/MSVClibardour/ardour.vcproj
index 89653f8ec1..292e66d63b 100644
--- a/libs/ardour/MSVClibardour/ardour.vcproj
+++ b/libs/ardour/MSVClibardour/ardour.vcproj
@@ -1705,6 +1705,10 @@
RelativePath="..\ardour\event_type_map.h"
>
+
+
@@ -2477,6 +2481,10 @@
RelativePath="..\ardour\types.h"
>
+
+
diff --git a/libs/ardour/ardour/rc_configuration.h b/libs/ardour/ardour/rc_configuration.h
index 4f1bac303a..a644d76250 100644
--- a/libs/ardour/ardour/rc_configuration.h
+++ b/libs/ardour/ardour/rc_configuration.h
@@ -26,6 +26,7 @@
#include "ardour/libardour_visibility.h"
#include "ardour/types.h"
#include "ardour/utils.h"
+#include "ardour/types_convert.h"
#include "pbd/configuration.h"
diff --git a/libs/ardour/ardour/region.h b/libs/ardour/ardour/region.h
index f51f54b00c..33c381df58 100644
--- a/libs/ardour/ardour/region.h
+++ b/libs/ardour/ardour/region.h
@@ -34,6 +34,7 @@
#include "ardour/readable.h"
#include "ardour/session_object.h"
#include "ardour/trimmable.h"
+#include "ardour/types_convert.h"
class XMLNode;
diff --git a/libs/ardour/ardour/types_convert.h b/libs/ardour/ardour/types_convert.h
index dd47eb46f0..8e9c785a96 100644
--- a/libs/ardour/ardour/types_convert.h
+++ b/libs/ardour/ardour/types_convert.h
@@ -20,6 +20,10 @@
#ifndef ARDOUR_TYPES_CONVERT_H
#define ARDOUR_TYPES_CONVERT_H
+#ifdef COMPILER_MSVC
+#pragma warning(disable:4101)
+#endif
+
#include "pbd/enum_convert.h"
#include "ardour/types.h"