bio: use UTFmax for Bungetsize and fix libmach to include <libc.h> before <bio.h> (from sources)
This commit is contained in:
parent
d359aed939
commit
18e480ceb2
10 changed files with 10 additions and 1 deletions
|
@ -7,7 +7,7 @@ typedef struct Biobufhdr Biobufhdr;
|
|||
enum
|
||||
{
|
||||
Bsize = 8*1024,
|
||||
Bungetsize = 4, /* space for ungetc */
|
||||
Bungetsize = UTFmax+1, /* space for ungetc */
|
||||
Bmagic = 0x314159,
|
||||
Beof = -1,
|
||||
Bbad = -2,
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
* currently no compiler - not related to 0c
|
||||
*/
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <bio.h>
|
||||
#include "mips2ureg.h"
|
||||
#include <mach.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*/
|
||||
#include <u.h>
|
||||
#include "/68020/include/ureg.h"
|
||||
#include <libc.h>
|
||||
#include <bio.h>
|
||||
#include <mach.h>
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* arm definition
|
||||
*/
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <bio.h>
|
||||
#include "/arm/include/ureg.h"
|
||||
#include <mach.h>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* alpha definition
|
||||
*/
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <bio.h>
|
||||
#include "/alpha/include/ureg.h"
|
||||
#include <mach.h>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* 386 definition
|
||||
*/
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <bio.h>
|
||||
#include "/386/include/ureg.h"
|
||||
#include <mach.h>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* sparc definition
|
||||
*/
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <bio.h>
|
||||
#include "/sparc/include/ureg.h"
|
||||
#include <mach.h>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
* forsyth@terzarima.net
|
||||
*/
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <bio.h>
|
||||
#include "/power/include/ureg.h"
|
||||
#include <mach.h>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* sparc64 definition
|
||||
*/
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <bio.h>
|
||||
#include "/sparc64/include/ureg.h"
|
||||
#include <mach.h>
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
* mips definition
|
||||
*/
|
||||
#include <u.h>
|
||||
#include <libc.h>
|
||||
#include <bio.h>
|
||||
#include "/mips/include/ureg.h"
|
||||
#include <mach.h>
|
||||
|
|
Loading…
Reference in a new issue