Incorporate the contents of include/llvm/Config/unistd.h as this is the

last file in LLVM to require the header. After ths commmit, our unistd.h
will go away.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-12-20 04:34:36 +00:00
parent 59d41d96e0
commit 3000cbfd10

View File

@ -23,7 +23,17 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "llvm/Config/unistd.h" /* provides definition of execve */
#include "llvm/Config/config.h"
#if defined(HAVE_UNISTD_H) && !defined(_MSC_VER)
#include <unistd.h>
#endif
#ifdef _WIN32
#include <process.h>
#include <io.h>
#endif
int main(int argc, char** argv) {
const char *Interp = getenv("LLVMINTERP");