summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/pathscanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/pathscanner.h')
-rw-r--r--libs/pbd/pbd/pathscanner.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/pbd/pbd/pathscanner.h b/libs/pbd/pbd/pathscanner.h
index 1b7ef58655..796648de0f 100644
--- a/libs/pbd/pbd/pathscanner.h
+++ b/libs/pbd/pbd/pathscanner.h
@@ -22,7 +22,11 @@
#include <vector>
#include <string>
+#ifdef COMPILER_MSVC
+#include <ardourext/misc.h>
+#else
#include <regex.h>
+#endif
class PathScanner