From 6db8c2c5ca0c28e95acfb276f383fa45459044ae Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 1 Jun 2004 23:47:00 +0000 Subject: [PATCH] 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 --- include/Config/unistd.h | 4 ++++ include/llvm/Config/unistd.h | 4 ++++ 2 files changed, 8 insertions(+) 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