Fix problem with perror

llvm-svn: 6659
diff --git a/llvm/lib/Support/Timer.cpp b/llvm/lib/Support/Timer.cpp
index a013b46..85114b5 100644
--- a/llvm/lib/Support/Timer.cpp
+++ b/llvm/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>