summaryrefslogtreecommitdiff
path: root/libs/pbd/pathexpand.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2013-12-07 20:20:12 +1000
committerTim Mayberry <mojofunk@gmail.com>2013-12-07 20:48:02 +1000
commitdc60753ddebf29f8da056120513b6592684622f3 (patch)
tree752d90c8668bf0c9bcd299b9a00781dbeb362e6b /libs/pbd/pathexpand.cc
parenta7961f04cf7d74a3cada760908b364b0e4453690 (diff)
Use correct header include for _fullpath
According to http://msdn.microsoft.com/en-us/library/506720ff(v=vs.120).aspx
Diffstat (limited to 'libs/pbd/pathexpand.cc')
-rw-r--r--libs/pbd/pathexpand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pathexpand.cc b/libs/pbd/pathexpand.cc
index 203bdcd069..26454e4164 100644
--- a/libs/pbd/pathexpand.cc
+++ b/libs/pbd/pathexpand.cc
@@ -35,7 +35,7 @@ using std::vector;
#ifdef COMPILER_MINGW
-#include <WTypes.h>
+#include <stdlib.h>
#include <glibmm.h>
/****************************************************************
@@ -63,7 +63,7 @@ realpath (const char *original_path, char resolved_path[_MAX_PATH+1])
// sure if Ardour needs such functionality anyway). Therefore we'll
// possibly need to add that functionality here at a later date.
} else {
- char temp[(MAX_PATH+1)*6]; // Allow for maximum length of a path in wchar characters
+ char temp[(_MAX_PATH+1)*6]; // Allow for maximum length of a path in wchar characters
// POSIX 'realpath()' requires that the buffer size is at
// least PATH_MAX+1, so assume that the user knew this !!