aboutsummaryrefslogtreecommitdiff
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
parent283c873654a58fa21a65de3031f78f194192ff90 (diff)
downloadglibc-2ba30a182ca50ac07f45ed1f813a85ccafaed85d.tar
glibc-2ba30a182ca50ac07f45ed1f813a85ccafaed85d.tar.gz
glibc-2ba30a182ca50ac07f45ed1f813a85ccafaed85d.tar.bz2
glibc-2ba30a182ca50ac07f45ed1f813a85ccafaed85d.zip
Add #include <unistd.h> to libio/oldfileops.c for write.
-rw-r--r--ChangeLog4
-rw-r--r--libio/oldfileops.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d7bcedfb32..f8e9c50565 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * libio/oldfileops.c: Include unistd.h.
+
2015-08-06 Mike Frysinger <vapier@gentoo.org>
* stdlib/isomac.c: Include ctype.h.
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