]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/include/bio.h
bio: use UTFmax for Bungetsize and fix libmach to include <libc.h> before <bio.h...
[plan9front.git] / sys / include / bio.h
index f358c962c4410d47e06953d3f01c4e62c8a494fe..a1e2594494c36b838deb81c4e87ddb6e5f04bdbf 100644 (file)
@@ -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,