summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-07-27 00:53:32 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-07-27 00:53:32 -0700
commit6835dbce340dcf5c651093229f2decd7f38943e6 (patch)
tree393bd4b16a41ad2767508c6986ad270d311755ba /util
parentc18d6cb1a72418b3ebf9c2df7ee339c43ee20484 (diff)
downloadgem5-6835dbce340dcf5c651093229f2decd7f38943e6.tar.xz
Statetrace: Fix up headers.
Diffstat (limited to 'util')
-rw-r--r--util/statetrace/statetrace.cc16
-rw-r--r--util/statetrace/tracechild.cc7
2 files changed, 12 insertions, 11 deletions
diff --git a/util/statetrace/statetrace.cc b/util/statetrace/statetrace.cc
index 5f7224b25..824dfda69 100644
--- a/util/statetrace/statetrace.cc
+++ b/util/statetrace/statetrace.cc
@@ -28,19 +28,19 @@
* Authors: Gabe Black
*/
-#include <iostream>
+#include <cstring>
+#include <errno.h>
#include <fstream>
+#include <iostream>
+#include <netdb.h>
+#include <netinet/in.h>
+#include <stdio.h>
#include <string>
+#include <sys/ptrace.h>
+#include <sys/socket.h>
#include <sys/types.h>
#include <sys/wait.h>
-#include <sys/ptrace.h>
#include <unistd.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netdb.h>
-#include <errno.h>
#include "printer.hh"
#include "tracechild.hh"
diff --git a/util/statetrace/tracechild.cc b/util/statetrace/tracechild.cc
index 603429829..52e19a0e9 100644
--- a/util/statetrace/tracechild.cc
+++ b/util/statetrace/tracechild.cc
@@ -29,10 +29,11 @@
*/
#include "tracechild.hh"
-#include <sys/wait.h>
-#include <sys/ptrace.h>
-#include <iostream>
+#include <cstring>
#include <errno.h>
+#include <iostream>
+#include <sys/ptrace.h>
+#include <sys/wait.h>
using namespace std;