]> sourceware.org Git - glibc.git/commitdiff
Cleanup: add missing #include's
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Wed, 18 Feb 2015 00:03:41 +0000 (16:03 -0800)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Wed, 18 Feb 2015 00:03:41 +0000 (16:03 -0800)
* libio/fileops.c: Add missing sys/mman.h
* libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h

ChangeLog
libio/fileops.c
libio/iopopen.c

index 84712856a788b5e8fa9f1dcfbbc6faef05765099..ee0a822daf05d81b89c06dd0daa9d7d336e4c6da 100644 (file)
--- 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
index b997e4bc5539a8416212d8ab011b620862347a8f..297b4784cc9c21a24f285c9a3faa9c7a2bdabdba 100644 (file)
@@ -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>
index ac3948524a8244a1f84adcc6560fddadc2914e91..53da776d86a904c204c49752bf895d9c52e51b95 100644 (file)
 # 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
This page took 0.119441 seconds and 5 git commands to generate.