diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2015-02-17 16:03:41 -0800 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2015-02-17 16:03:41 -0800 |
commit | 8ae4bb5a3882331a2a8d0828a35b89965310fc76 (patch) | |
tree | 50802abfd0fd0e69209b15424e4c435aba690370 /libio | |
parent | 18a218b74c6b421d37316371d892a2f3b752eb93 (diff) | |
download | glibc-8ae4bb5a3882331a2a8d0828a35b89965310fc76.zip glibc-8ae4bb5a3882331a2a8d0828a35b89965310fc76.tar.gz glibc-8ae4bb5a3882331a2a8d0828a35b89965310fc76.tar.bz2 |
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')
-rw-r--r-- | libio/fileops.c | 1 | ||||
-rw-r--r-- | libio/iopopen.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libio/fileops.c b/libio/fileops.c index b997e4b..297b478 100644 --- a/libio/fileops.c +++ b/libio/fileops.c @@ -32,6 +32,7 @@ #include "libioP.h" #include <assert.h> #include <fcntl.h> +#include <sys/mman.h> #include <sys/param.h> #include <sys/types.h> #include <sys/stat.h> diff --git a/libio/iopopen.c b/libio/iopopen.c index ac39485..53da776 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 |