aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-19 18:42:09 +0000
committerChris Lattner <sabre@nondot.org>2003-06-19 18:42:09 +0000
commited4775a3c149900fb8e04bc9baf9d683cbecc28b (patch)
tree53e9ee5a1aec3258d7b4b92d64948e5c050cb25f
parentdccb6d017bfc88eff013e08e6b28d90b357996b5 (diff)
Remove usage of sys/unistd.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6788 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Support/Timer.cpp1
-rw-r--r--lib/VMCore/Pass.cpp2
-rw-r--r--support/lib/Support/Timer.cpp1
3 files changed, 1 insertions, 3 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp
index 26f10e77f7..96b63f1e94 100644
--- a/lib/Support/Timer.cpp
+++ b/lib/Support/Timer.cpp
@@ -8,7 +8,6 @@
#include "Support/CommandLine.h"
#include <sys/resource.h>
#include <sys/time.h>
-#include <sys/unistd.h>
#include <unistd.h>
#ifndef __FreeBSD__
#include <malloc.h>
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp
index ca55b0da0a..04299e9b36 100644
--- a/lib/VMCore/Pass.cpp
+++ b/lib/VMCore/Pass.cpp
@@ -14,7 +14,7 @@
#include <stdio.h>
#include <sys/resource.h>
#include <sys/time.h>
-#include <sys/unistd.h>
+#include <unistd.h>
#include <set>
// IncludeFile - Stub function used to help linking out.
diff --git a/support/lib/Support/Timer.cpp b/support/lib/Support/Timer.cpp
index 26f10e77f7..96b63f1e94 100644
--- a/support/lib/Support/Timer.cpp
+++ b/support/lib/Support/Timer.cpp
@@ -8,7 +8,6 @@
#include "Support/CommandLine.h"
#include <sys/resource.h>
#include <sys/time.h>
-#include <sys/unistd.h>
#include <unistd.h>
#ifndef __FreeBSD__
#include <malloc.h>