X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fstdio%2F__stdout_write.c;h=200fe2c96f5296446b464b3a91385ad497aa4a82;hb=41d7c77d6a2e74294807d35062e4cd1d48ab72d3;hp=4683ffc3b0059c2a5966144d70e0934e2a743db5;hpb=e3cd6c5c265cd481db6e0c5b529855d99f0bda30;p=musl diff --git a/src/stdio/__stdout_write.c b/src/stdio/__stdout_write.c index 4683ffc3..200fe2c9 100644 --- a/src/stdio/__stdout_write.c +++ b/src/stdio/__stdout_write.c @@ -1,10 +1,12 @@ #include "stdio_impl.h" +#include +#include size_t __stdout_write(FILE *f, const unsigned char *buf, size_t len) { struct termios tio; f->write = __stdio_write; - if (!(f->flags & F_SVB) && syscall(SYS_ioctl, f->fd, TCGETS, &tio)) + if (!(f->flags & F_SVB) && __syscall(SYS_ioctl, f->fd, TCGETS, &tio)) f->lbf = -1; return __stdio_write(f, buf, len); }