diff options
author | Anthony Martin <ality@pbrane.org> | 2013-12-09 18:39:58 -0500 |
---|---|---|
committer | Anthony Martin <ality@pbrane.org> | 2013-12-09 18:39:58 -0500 |
commit | bc034b7d63040f413568495b7f82dd509b0d9e18 (patch) | |
tree | 21abea74d64e37072aab3053f2be620f2f0150ea /include | |
parent | 356e4e5ee3fb5e48f50047b8212234777410aebc (diff) | |
download | go-bc034b7d63040f413568495b7f82dd509b0d9e18.tar.gz |
build: do not use the host's libbio on Plan 9
R=jas, lucio.dere, rsc
CC=golang-dev
https://codereview.appspot.com/14604047
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/bio.h | 2 | ||||
-rw-r--r-- | include/plan9/bio.h | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/include/bio.h b/include/bio.h index 5506c7c32..c9c3332e8 100644 --- a/include/bio.h +++ b/include/bio.h @@ -33,8 +33,6 @@ extern "C" { AUTOLIB(bio) #endif -#include <fcntl.h> /* for O_RDONLY, O_WRONLY */ - typedef struct Biobuf Biobuf; enum diff --git a/include/plan9/bio.h b/include/plan9/bio.h new file mode 100644 index 000000000..13d5e0ef2 --- /dev/null +++ b/include/plan9/bio.h @@ -0,0 +1,8 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +#include "../bio.h" + +#define fmtcharstod charstod +#define lseek seek |