diff options
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 |