Use the proper version of C++ headers
authorNathan Binkert <nate@binkert.org>
Fri, 19 Sep 2008 16:11:43 +0000 (09:11 -0700)
committerNathan Binkert <nate@binkert.org>
Fri, 19 Sep 2008 16:11:43 +0000 (09:11 -0700)
src/base/cprintf_formats.hh
src/base/misc.cc
src/base/time.cc
src/sim/eventq.hh

index 4e8b2b09eee986c997e08c03496421fb28e6eada..75157a540d0d384dcc6fe220fc9edf4206ac1b2c 100644 (file)
@@ -31,8 +31,9 @@
 #ifndef __BASE_CPRINTF_FORMATS_HH__
 #define __BASE_CPRINTF_FORMATS_HH__
 
-#include <sstream>
+#include <cstring>
 #include <ostream>
+#include <sstream>
 
 namespace cp {
 
index 0ab1d6041f1594bce0e98e296260ef0abac2ff8e..7d284a37813b77dd82cb9f5295f68e740a5436b8 100644 (file)
@@ -28,6 +28,7 @@
  * Authors: Nathan Binkert
  */
 
+#include <cstdlib>
 #include <iostream>
 #include <string>
 
index 76ba355b78617253ae07ceb21088a6166187ac8e..a1732773e026a0aa4bc066e1e0b788fde8598202 100644 (file)
@@ -28,9 +28,9 @@
  * Authors: Nathan Binkert
  */
 
-#include <sys/types.h>
-#include <sys/time.h>
-#include <time.h>
+#include <cctype>
+#include <cstring>
+#include <ctime>
 #include <iostream>
 #include <string>
 
index 2003c64ee94c8352a1b88e2fe0ad7d0cab6b0049..d172c73dad68a33778a4654dfcde614a0f3c9f3a 100644 (file)
@@ -38,6 +38,7 @@
 
 #include <algorithm>
 #include <cassert>
+#include <climits>
 #include <map>
 #include <string>
 #include <vector>