about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2015-08-06 08:51:31 -0700
committerPaul Pluzhnikov <ppluzhnikov@google.com>2015-08-06 08:51:31 -0700
commit2ba30a182ca50ac07f45ed1f813a85ccafaed85d (patch)
tree04c1b69b6cb83f79b89afa96da0d4a5a7174b145 /libio
parent283c873654a58fa21a65de3031f78f194192ff90 (diff)
downloadglibc-2ba30a182ca50ac07f45ed1f813a85ccafaed85d.tar.gz
glibc-2ba30a182ca50ac07f45ed1f813a85ccafaed85d.tar.xz
glibc-2ba30a182ca50ac07f45ed1f813a85ccafaed85d.zip
Add #include <unistd.h> to libio/oldfileops.c for write.
Diffstat (limited to 'libio')
-rw-r--r--libio/oldfileops.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libio/oldfileops.c b/libio/oldfileops.c
index 54789b2349..25797c830e 100644
--- a/libio/oldfileops.c
+++ b/libio/oldfileops.c
@@ -41,6 +41,7 @@
 #include <string.h>
 #include <errno.h>
 #include <stdlib.h>
+#include <unistd.h>
 #ifndef errno
 extern int errno;
 #endif