summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2014-01-08 23:34:11 +0100
committerDavid du Colombier <0intro@gmail.com>2014-01-08 23:34:11 +0100
commit9560e3b70bc76ff02cd45944b77ea4b06c83dcf3 (patch)
treefcb19a18cee6f08a36287fbb5557af4adfc99959 /include
parentd890f23aaf97b58d97d370213e387a1964ebe275 (diff)
downloadgo-9560e3b70bc76ff02cd45944b77ea4b06c83dcf3.tar.gz
libmach: use Go's ureg headers on Plan 9
The CL 49090043 renamed Ureg structures to Ureg386, UregArm and UregAmd64. This broke build on Plan 9, since ureg_x86.h includes /386/include/ureg.h, which declares a structure named Ureg instead of Ureg386. R=golang-codereviews, bradfitz CC=golang-codereviews, rsc https://codereview.appspot.com/49260043
Diffstat (limited to 'include')
-rw-r--r--include/plan9/ureg_amd64.h2
-rw-r--r--include/plan9/ureg_arm.h2
-rw-r--r--include/plan9/ureg_x86.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/plan9/ureg_amd64.h b/include/plan9/ureg_amd64.h
index 8aaa83f52..a7d6ed1fc 100644
--- a/include/plan9/ureg_amd64.h
+++ b/include/plan9/ureg_amd64.h
@@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-#include "/amd64/include/ureg.h"
+#include "../ureg_amd64.h"
diff --git a/include/plan9/ureg_arm.h b/include/plan9/ureg_arm.h
index f83c19a2f..fdb0d27ea 100644
--- a/include/plan9/ureg_arm.h
+++ b/include/plan9/ureg_arm.h
@@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-#include "/arm/include/ureg.h"
+#include "../ureg_arm.h"
diff --git a/include/plan9/ureg_x86.h b/include/plan9/ureg_x86.h
index 7d73a4865..6fc481932 100644
--- a/include/plan9/ureg_x86.h
+++ b/include/plan9/ureg_x86.h
@@ -2,4 +2,4 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-#include "/386/include/ureg.h"
+#include "../ureg_x86.h"