diff options
Diffstat (limited to 'llvm/lib/Support/Windows/Path.inc')
-rw-r--r-- | llvm/lib/Support/Windows/Path.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/Path.inc b/llvm/lib/Support/Windows/Path.inc index b7926e40806..4ef7285801a 100644 --- a/llvm/lib/Support/Windows/Path.inc +++ b/llvm/lib/Support/Windows/Path.inc @@ -17,12 +17,14 @@ //===----------------------------------------------------------------------===// #include "llvm/ADT/STLExtras.h" -#include "Windows.h" #include <fcntl.h> #include <io.h> #include <sys/stat.h> #include <sys/types.h> +// The Windows.h header must be the last one included. +#include "Windows.h" + #undef max // MinGW doesn't define this. |