diff options
Diffstat (limited to 'util')
-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; |