Lines Matching +full:uapi +full:- +full:header
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * Compatibility interface for userspace libc header coordination:
6 * exclusion of UAPI structures and definitions in coordination with another
9 * This header is intended to solve the problem of UAPI definitions that
10 * conflict with userspace definitions. If a UAPI header has such conflicting
13 * * Synchronize the UAPI header and the libc headers so either one can be
20 * (a) Include libc-compat.h in the UAPI header.
21 * e.g. #include <linux/libc-compat.h>
24 * (b) In libc-compat.h add enough code to detect that the comflicting
25 * userspace libc header has been included first.
27 * (c) If the userspace libc header has been included first define a set of
31 * (d) Back in the UAPI header with the conflicting definitions, guard the
55 /* Coordinate with glibc net/if.h header. */
89 /* Coordinate with glibc netinet/in.h header. */