aboutsummaryrefslogtreecommitdiff
path: root/libio/iopopen.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2015-02-17 16:03:41 -0800
committerPaul Pluzhnikov <ppluzhnikov@google.com>2015-02-17 16:03:41 -0800
commit8ae4bb5a3882331a2a8d0828a35b89965310fc76 (patch)
tree50802abfd0fd0e69209b15424e4c435aba690370 /libio/iopopen.c
parent18a218b74c6b421d37316371d892a2f3b752eb93 (diff)
downloadglibc-8ae4bb5a3882331a2a8d0828a35b89965310fc76.tar
glibc-8ae4bb5a3882331a2a8d0828a35b89965310fc76.tar.gz
glibc-8ae4bb5a3882331a2a8d0828a35b89965310fc76.tar.bz2
glibc-8ae4bb5a3882331a2a8d0828a35b89965310fc76.zip
Cleanup: add missing #include's
* libio/fileops.c: Add missing sys/mman.h * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
Diffstat (limited to 'libio/iopopen.c')
-rw-r--r--libio/iopopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/iopopen.c b/libio/iopopen.c
index ac3948524a..53da776d86 100644
--- a/libio/iopopen.c
+++ b/libio/iopopen.c
@@ -29,11 +29,11 @@
# define _POSIX_SOURCE
#endif
#include "libioP.h"
+#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#ifdef _LIBC
-# include <unistd.h>
# include <shlib-compat.h>
# include <not-cancel.h>
#endif