From 43108ee53a62bdbafc16a1224eeed3c0e2fa71a6 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 8 Jan 2014 23:34:11 +0100 Subject: [PATCH] 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://golang.org/cl/49260043 --- include/plan9/ureg_amd64.h | 2 +- include/plan9/ureg_arm.h | 2 +- include/plan9/ureg_x86.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/plan9/ureg_amd64.h b/include/plan9/ureg_amd64.h index 8aaa83f526..a7d6ed1fc6 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 f83c19a2f3..fdb0d27ea3 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 7d73a48653..6fc4819324 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" -- 2.48.1