aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-06 21:09:29 +0000
committerChris Lattner <sabre@nondot.org>2003-06-06 21:09:29 +0000
commitb8c8829a4a98060b6cd32112bdeee75daac4d35e (patch)
tree1e96a2db4363586f3f0221f1952792f65d0bfce8
parent30d002bd66d28e0c074ca350a30b57886566f8ae (diff)
downloadexternal_llvm-b8c8829a4a98060b6cd32112bdeee75daac4d35e.zip
external_llvm-b8c8829a4a98060b6cd32112bdeee75daac4d35e.tar.gz
external_llvm-b8c8829a4a98060b6cd32112bdeee75daac4d35e.tar.bz2
Fix problem with perror
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6659 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Support/Timer.cpp1
-rw-r--r--support/lib/Support/Timer.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/Timer.cpp b/lib/Support/Timer.cpp
index a013b46..85114b5 100644
--- a/lib/Support/Timer.cpp
+++ b/lib/Support/Timer.cpp
@@ -11,6 +11,7 @@
#include <sys/unistd.h>
#include <unistd.h>
#include <malloc.h>
+#include <stdio.h>
#include <iostream>
#include <algorithm>
#include <functional>
diff --git a/support/lib/Support/Timer.cpp b/support/lib/Support/Timer.cpp
index a013b46..85114b5 100644
--- a/support/lib/Support/Timer.cpp
+++ b/support/lib/Support/Timer.cpp
@@ -11,6 +11,7 @@
#include <sys/unistd.h>
#include <unistd.h>
#include <malloc.h>
+#include <stdio.h>
#include <iostream>
#include <algorithm>
#include <functional>