mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-30 12:31:53 +08:00
linux/sysipc: Include linux/posix_types.h for __kernel_mode_t
The posix_types.h (where __kernel_mode_t is defined) is included implicitly, which might not happen on older kernels.
This commit is contained in:
parent
87a698a216
commit
60f071f47a
@ -21,6 +21,7 @@
|
||||
#include <sysdep.h>
|
||||
#include <shlib-compat.h>
|
||||
#include <errno.h>
|
||||
#include <linux/posix_types.h> /* For __kernel_mode_t. */
|
||||
|
||||
#ifndef DEFAULT_VERSION
|
||||
# ifndef __ASSUME_SYSVIPC_BROKEN_MODE_T
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <sysdep.h>
|
||||
#include <shlib-compat.h>
|
||||
#include <errno.h>
|
||||
#include <linux/posix_types.h> /* For __kernel_mode_t. */
|
||||
|
||||
/* Define a `union semun' suitable for Linux here. */
|
||||
union semun
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <sysdep.h>
|
||||
#include <shlib-compat.h>
|
||||
#include <errno.h>
|
||||
#include <linux/posix_types.h> /* For __kernel_mode_t. */
|
||||
|
||||
#ifndef DEFAULT_VERSION
|
||||
# ifndef __ASSUME_SYSVIPC_BROKEN_MODE_T
|
||||
|
Loading…
Reference in New Issue
Block a user