1
0
mirror of https://github.com/golang/go synced 2024-11-22 14:44:50 -07:00

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
This commit is contained in:
David du Colombier 2013-05-01 15:48:13 -07:00 committed by Rob Pike
parent 83feea5af8
commit c8942f021e

View File

@ -30,6 +30,7 @@
* 386 definition
*/
#include <u.h>
#include <libc.h>
#include <bio.h>
#include <ureg_x86.h>
#include <mach.h>