summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-01 23:47:00 +0000
committerChris Lattner <sabre@nondot.org>2004-06-01 23:47:00 +0000
commit8e71bc09ff4a66489b4be4aad8f29a31b164fc02 (patch)
tree4b137959ffd8ab1fdda46e5e5509b90743a946cd /llvm/include
parent3edb94bff1a42a3bffc8a415390a66db2297ba32 (diff)
downloadbcm5719-llvm-8e71bc09ff4a66489b4be4aad8f29a31b164fc02.tar.gz
bcm5719-llvm-8e71bc09ff4a66489b4be4aad8f29a31b164fc02.zip
On win32, process.h provides some of the traditional stuff that unistd
provides. This seems like a relatively clean way to get it. llvm-svn: 13936
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/Config/unistd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/Config/unistd.h b/llvm/include/Config/unistd.h
index 5b621a6b762..e9ca783e83d 100644
--- a/llvm/include/Config/unistd.h
+++ b/llvm/include/Config/unistd.h
@@ -20,4 +20,8 @@
#include <unistd.h>
#endif
+#ifdef _WIN32
+#include <process.h>
+#endif
+
#endif
OpenPOWER on IntegriCloud