[llvm-commits] CVS: llvm/lib/VMCore/Pass.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Sep 13 09:48:01 PDT 2002
Changes in directory llvm/lib/VMCore:
Pass.cpp updated: 1.36 -> 1.37
---
Log message:
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.
---
Diffs of the changes:
Index: llvm/lib/VMCore/Pass.cpp
diff -u llvm/lib/VMCore/Pass.cpp:1.36 llvm/lib/VMCore/Pass.cpp:1.37
--- llvm/lib/VMCore/Pass.cpp:1.36 Thu Sep 12 12:06:40 2002
+++ llvm/lib/VMCore/Pass.cpp Fri Sep 13 09:47:12 2002
@@ -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>
More information about the llvm-commits
mailing list