Another portability fix provided via Casey Carter:

ISSUE: getTimeRecord in lib/VMCore/Pass.cpp uses timeval and
gettimeofday() without including sys/time.h.

ACTION: Include sys/time.h.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3699 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp
index 19b564e..89b719c 100644
--- a/lib/VMCore/Pass.cpp
+++ b/lib/VMCore/Pass.cpp
@@ -13,6 +13,7 @@
 #include "Support/TypeInfo.h"
 #include <stdio.h>
 #include <sys/resource.h>
+#include <sys/time.h>
 #include <sys/unistd.h>
 #include <set>