diff options
Diffstat (limited to 'util/statetrace/arch/amd64')
-rw-r--r-- | util/statetrace/arch/amd64/tracechild.cc | 9 | ||||
-rw-r--r-- | util/statetrace/arch/amd64/tracechild.hh | 5 |
2 files changed, 8 insertions, 6 deletions
diff --git a/util/statetrace/arch/amd64/tracechild.cc b/util/statetrace/arch/amd64/tracechild.cc index 5d3b660ab..1aec5ec97 100644 --- a/util/statetrace/arch/amd64/tracechild.cc +++ b/util/statetrace/arch/amd64/tracechild.cc @@ -28,12 +28,13 @@ * Authors: Gabe Black */ -#include <iostream> -#include <iomanip> -#include <errno.h> #include <sys/ptrace.h> #include <stdint.h> -#include <string.h> + +#include <cerrno> +#include <cstring> +#include <iomanip> +#include <iostream> #include "arch/amd64/tracechild.hh" diff --git a/util/statetrace/arch/amd64/tracechild.hh b/util/statetrace/arch/amd64/tracechild.hh index 6f28bc0bd..7adbec59e 100644 --- a/util/statetrace/arch/amd64/tracechild.hh +++ b/util/statetrace/arch/amd64/tracechild.hh @@ -31,9 +31,10 @@ #ifndef REGSTATE_AMD64_HH #define REGSTATE_AMD64_HH -#include <sys/user.h> -#include <sys/types.h> #include <sys/ptrace.h> +#include <sys/types.h> +#include <sys/user.h> + #include <cassert> #include <string> |