mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Cleanup: add missing #include's
* libio/fileops.c: Add missing sys/mman.h * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
This commit is contained in:
@ -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>
|
2015-02-17 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* manual/math.texi (Errors in Math Functions): Clarify goals
|
* manual/math.texi (Errors in Math Functions): Clarify goals
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <sys/mman.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
@ -29,11 +29,11 @@
|
|||||||
# define _POSIX_SOURCE
|
# define _POSIX_SOURCE
|
||||||
#endif
|
#endif
|
||||||
#include "libioP.h"
|
#include "libioP.h"
|
||||||
|
#include <fcntl.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
# include <unistd.h>
|
|
||||||
# include <shlib-compat.h>
|
# include <shlib-compat.h>
|
||||||
# include <not-cancel.h>
|
# include <not-cancel.h>
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user