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
This commit is contained in:
Chris Lattner 2002-09-13 14:47:12 +00:00
parent 8b77be22f5
commit f90a0e4bd7

View File

@ -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>