From 8ae4bb5a3882331a2a8d0828a35b89965310fc76 Mon Sep 17 00:00:00 2001 From: Paul Pluzhnikov Date: Tue, 17 Feb 2015 16:03:41 -0800 Subject: Cleanup: add missing #include's * libio/fileops.c: Add missing sys/mman.h * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h --- ChangeLog | 5 +++++ libio/fileops.c | 1 + libio/iopopen.c | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 84712856a7..ee0a822daf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-02-17 Paul Pluzhnikov + + * libio/fileops.c: Add missing sys/mman.h + * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h + 2015-02-17 Joseph Myers * manual/math.texi (Errors in Math Functions): Clarify goals diff --git a/libio/fileops.c b/libio/fileops.c index b997e4bc55..297b4784cc 100644 --- a/libio/fileops.c +++ b/libio/fileops.c @@ -32,6 +32,7 @@ #include "libioP.h" #include #include +#include #include #include #include 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 #include #include #include #ifdef _LIBC -# include # include # include #endif -- cgit v1.2.1