From: Chris Lattner Date: Tue, 1 Jun 2004 23:47:00 +0000 (+0000) Subject: On win32, process.h provides some of the traditional stuff that unistd X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6db8c2c5ca0c28e95acfb276f383fa45459044ae;p=oota-llvm.git On win32, process.h provides some of the traditional stuff that unistd provides. This seems like a relatively clean way to get it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13936 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Config/unistd.h b/include/Config/unistd.h index 5b621a6b762..e9ca783e83d 100644 --- a/include/Config/unistd.h +++ b/include/Config/unistd.h @@ -20,4 +20,8 @@ #include #endif +#ifdef _WIN32 +#include +#endif + #endif diff --git a/include/llvm/Config/unistd.h b/include/llvm/Config/unistd.h index 5b621a6b762..e9ca783e83d 100644 --- a/include/llvm/Config/unistd.h +++ b/include/llvm/Config/unistd.h @@ -20,4 +20,8 @@ #include #endif +#ifdef _WIN32 +#include +#endif + #endif