This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch master updated. glibc-2.21-92-g8ae4bb5
- From: ppluzhnikov at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 18 Feb 2015 00:13:33 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.21-92-g8ae4bb5
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via 8ae4bb5a3882331a2a8d0828a35b89965310fc76 (commit)
from 18a218b74c6b421d37316371d892a2f3b752eb93 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=8ae4bb5a3882331a2a8d0828a35b89965310fc76
commit 8ae4bb5a3882331a2a8d0828a35b89965310fc76
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date: Tue Feb 17 16:03:41 2015 -0800
Cleanup: add missing #include's
* libio/fileops.c: Add missing sys/mman.h
* libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
diff --git a/ChangeLog b/ChangeLog
index 8471285..ee0a822 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
+
+ * libio/fileops.c: Add missing sys/mman.h
+ * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
+
2015-02-17 Joseph Myers <joseph@codesourcery.com>
* manual/math.texi (Errors in Math Functions): Clarify goals
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
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
libio/fileops.c | 1 +
libio/iopopen.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
hooks/post-receive
--
GNU C Library master sources