about summary refs log tree commit diff
path: root/src/stdio/__stdout_write.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-11-08 16:39:41 -0500
committerRich Felker <dalias@aerifal.cx>2012-11-08 16:39:41 -0500
commit835f9f950e2f6059532bd9ab9857a856ed21a4fd (patch)
tree496ea32dceca7e6573a534dfcfab26e322f0a0c6 /src/stdio/__stdout_write.c
parent1e717ea3d2a864e00e507f1a70a892c551955f1b (diff)
downloadmusl-835f9f950e2f6059532bd9ab9857a856ed21a4fd.tar.gz
musl-835f9f950e2f6059532bd9ab9857a856ed21a4fd.tar.xz
musl-835f9f950e2f6059532bd9ab9857a856ed21a4fd.zip
clean up stdio_impl.h
this header evolved to facilitate the extremely lazy practice of
omitting explicit includes of the necessary headers in individual
stdio source files; not only was this sloppy, but it also increased
build time.

now, stdio_impl.h is only including the headers it needs for its own
use; any further headers needed by source files are included directly
where needed.
Diffstat (limited to 'src/stdio/__stdout_write.c')
-rw-r--r--src/stdio/__stdout_write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stdio/__stdout_write.c b/src/stdio/__stdout_write.c
index 0cf71236..200fe2c9 100644
--- a/src/stdio/__stdout_write.c
+++ b/src/stdio/__stdout_write.c
@@ -1,4 +1,6 @@
 #include "stdio_impl.h"
+#include <termios.h>
+#include <sys/ioctl.h>
 
 size_t __stdout_write(FILE *f, const unsigned char *buf, size_t len)
 {