summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/undo.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/undo.h')
-rw-r--r--libs/pbd/pbd/undo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/pbd/pbd/undo.h b/libs/pbd/pbd/undo.h
index 753bc13b15..794e68ce97 100644
--- a/libs/pbd/pbd/undo.h
+++ b/libs/pbd/pbd/undo.h
@@ -25,7 +25,11 @@
#include <map>
#include <sigc++/slot.h>
#include <sigc++/bind.h>
+#ifndef COMPILER_MSVC
#include <sys/time.h>
+#else
+#include <ardourext/misc.h>
+#endif
#include "pbd/libpbd_visibility.h"
#include "pbd/command.h"