diff options
author | Chris Lattner <sabre@nondot.org> | 2002-09-13 14:47:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-09-13 14:47:12 +0000 |
commit | f90a0e4bd7c99788d85655e9f52c63a3a58f7431 (patch) | |
tree | b58ad67801deb906d69315146baf08a77959da25 | |
parent | 8b77be22f50cfdcdff63b7de3b6b391ec2f010f6 (diff) |
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
-rw-r--r-- | lib/VMCore/Pass.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp index 19b564e61f..89b719c0dd 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> |