From c8942f021e99d1d0388bb6571fc3410de94a88d9 Mon Sep 17 00:00:00 2001 From: David du Colombier <0intro@gmail.com> Date: Wed, 1 May 2013 15:48:13 -0700 Subject: [PATCH] libmach: fix build on Plan 9 Include libc.h before bio.h in 8.c, because bio.h uses the UTFmax enum, which is declared in libc.h, since the recent switch to 21-bit runes in Plan 9. The 5.c and 6.c files already includes libc.h. R=golang-dev, r CC=golang-dev https://golang.org/cl/9040047 --- src/libmach/8.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libmach/8.c b/src/libmach/8.c index 07ec305057..34248e6f33 100644 --- a/src/libmach/8.c +++ b/src/libmach/8.c @@ -30,6 +30,7 @@ * 386 definition */ #include +#include #include #include #include -- 2.48.1