Driver: Explicitly include <unistd.h>, libstdc++'s <map> pulls it in, libc++ doesn't.

Also, on windows, chdir seems to live in <direct.h>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140414 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index d64eab5..40e68e4 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -43,6 +43,12 @@
 
 #include <map>
 
+#if defined(HAVE_UNISTD_H)
+#include <unistd.h>
+#elif defined(_WIN32)
+#include <direct.h>
+#endif
+
 using namespace clang::driver;
 using namespace clang;