aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2013-05-01 15:48:13 -0700
committerRob Pike <r@golang.org>2013-05-01 15:48:13 -0700
commitc8942f021e99d1d0388bb6571fc3410de94a88d9 (patch)
tree1bfaf78d8660a7ca991a0dccee911c80c74d553f
parent83feea5af85c18fdea9d4038026bb8e06eab1149 (diff)
downloadgo-c8942f021e99d1d0388bb6571fc3410de94a88d9.tar.gz
go-c8942f021e99d1d0388bb6571fc3410de94a88d9.zip
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
-rw-r--r--src/libmach/8.c1
1 files changed, 1 insertions, 0 deletions
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 <u.h>
+#include <libc.h>
#include <bio.h>
#include <ureg_x86.h>
#include <mach.h>