summaryrefslogtreecommitdiff
path: root/libs/ardour/vst_info_file.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2017-12-02 11:46:20 +0000
committerJohn Emmas <johne53@tiscali.co.uk>2017-12-02 11:46:20 +0000
commit9aab9bc229b97aabfd93f1aae3e96738cbacd49b (patch)
treed1931478cebe4d3f59d57b9f75e2d7dd30bb064f /libs/ardour/vst_info_file.cc
parent1dd52464aa6fd51ad91572847bab0891a78035a1 (diff)
A couple of minor changes when #including <utime.h>
Diffstat (limited to 'libs/ardour/vst_info_file.cc')
-rw-r--r--libs/ardour/vst_info_file.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc
index df28cbc02e..42e8e72447 100644
--- a/libs/ardour/vst_info_file.cc
+++ b/libs/ardour/vst_info_file.cc
@@ -25,9 +25,15 @@
#include <cassert>
#include <sys/types.h>
-#include <fcntl.h>
-#include <utime.h>
+
+#ifdef COMPILER_MSVC
+#include <sys/utime.h>
+#else
#include <unistd.h>
+#include <utime.h>
+#endif
+
+#include <fcntl.h>
#include <errno.h>
#include <stdlib.h>