diff options
author | Russ Cox <rsc@golang.org> | 2011-08-25 16:25:10 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-08-25 16:25:10 -0400 |
commit | a5b7541234a94a0c1ab376738962ce3a40ccb70c (patch) | |
tree | 1fcf55eb210c368414c11145b0ffa2716b3f2f0b /src/cmd/gc/range.c | |
parent | 6fb4eae836540e218606c781206509001a503146 (diff) | |
download | go-a5b7541234a94a0c1ab376738962ce3a40ccb70c.tar.gz |
gc: shuffle #includes
#include "go.h" (or "gg.h")
becomes
#include <u.h>
#include <libc.h>
#include "go.h"
so that go.y can #include <stdio.h>
after <u.h> but before "go.h".
This is necessary on Plan 9.
R=ken2
CC=golang-dev
http://codereview.appspot.com/4971041
Diffstat (limited to 'src/cmd/gc/range.c')
-rw-r--r-- | src/cmd/gc/range.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/gc/range.c b/src/cmd/gc/range.c index 5ce693ae3..26edf8c3a 100644 --- a/src/cmd/gc/range.c +++ b/src/cmd/gc/range.c @@ -6,6 +6,8 @@ * range */ +#include <u.h> +#include <libc.h> #include "go.h" void |