summaryrefslogtreecommitdiff
path: root/util/statetrace/arch/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'util/statetrace/arch/sparc')
-rw-r--r--util/statetrace/arch/sparc/tracechild.cc5
-rw-r--r--util/statetrace/arch/sparc/tracechild.hh7
2 files changed, 7 insertions, 5 deletions
diff --git a/util/statetrace/arch/sparc/tracechild.cc b/util/statetrace/arch/sparc/tracechild.cc
index b18739e24..fad4a00d7 100644
--- a/util/statetrace/arch/sparc/tracechild.cc
+++ b/util/statetrace/arch/sparc/tracechild.cc
@@ -28,11 +28,12 @@
* Authors: Gabe Black
*/
-#include <iostream>
-#include <errno.h>
#include <sys/ptrace.h>
#include <stdint.h>
+#include <cerrno>
+#include <iostream>
+
#include "arch/sparc/tracechild.hh"
using namespace std;
diff --git a/util/statetrace/arch/sparc/tracechild.hh b/util/statetrace/arch/sparc/tracechild.hh
index 27670604a..30f7f26bd 100644
--- a/util/statetrace/arch/sparc/tracechild.hh
+++ b/util/statetrace/arch/sparc/tracechild.hh
@@ -32,12 +32,13 @@
#define TRACECHILD_SPARC_HH
#include <asm-sparc64/reg.h>
+#include <sys/ptrace.h>
+#include <sys/types.h>
+#include <stdint.h>
+
#include <cassert>
#include <ostream>
-#include <stdint.h>
#include <string>
-#include <sys/ptrace.h>
-#include <sys/types.h>
#include "base/tracechild.hh"