diff options
author | David du Colombier <0intro@gmail.com> | 2013-05-01 15:48:13 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2013-05-01 15:48:13 -0700 |
commit | c8942f021e99d1d0388bb6571fc3410de94a88d9 (patch) | |
tree | 1bfaf78d8660a7ca991a0dccee911c80c74d553f | |
parent | 83feea5af85c18fdea9d4038026bb8e06eab1149 (diff) | |
download | go-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.c | 1 |
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> |