summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-05-04 18:30:49 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-05-04 18:30:49 +0200
commit18e480ceb298bcc00703931e1e3413e3f1580e35 (patch)
treee6123a40404e32f355dcbfbaf7754ef3f2a4ec42 /sys/include
parentd359aed9398b9ce51bf0988663ed9fcf1f0e5f1d (diff)
bio: use UTFmax for Bungetsize and fix libmach to include <libc.h> before <bio.h> (from sources)
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/bio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/include/bio.h b/sys/include/bio.h
index f358c962c..a1e259449 100644
--- a/sys/include/bio.h
+++ b/sys/include/bio.h
@@ -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,