diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-07-27 00:53:32 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-07-27 00:53:32 -0700 |
commit | 6835dbce340dcf5c651093229f2decd7f38943e6 (patch) | |
tree | 393bd4b16a41ad2767508c6986ad270d311755ba | |
parent | c18d6cb1a72418b3ebf9c2df7ee339c43ee20484 (diff) | |
download | gem5-6835dbce340dcf5c651093229f2decd7f38943e6.tar.xz |
Statetrace: Fix up headers.
-rw-r--r-- | util/statetrace/statetrace.cc | 16 | ||||
-rw-r--r-- | util/statetrace/tracechild.cc | 7 |
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; |