Re: [PATCH] uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define

2018-02-13 Thread Guillaume Nault
On Tue, Feb 13, 2018 at 11:24:07AM -0500, David Miller wrote: > From: Hauke Mehrtens > Date: Tue, 13 Feb 2018 00:01:26 +0100 > > > On 02/12/2018 11:59 PM, Hauke Mehrtens wrote: > >> This fixes a compile problem of some user space applications by not > >> including linux/libc-compat.h in uapi/if_e

Re: [PATCH] uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define

2018-02-13 Thread David Miller
From: Hauke Mehrtens Date: Tue, 13 Feb 2018 00:01:26 +0100 > On 02/12/2018 11:59 PM, Hauke Mehrtens wrote: >> This fixes a compile problem of some user space applications by not >> including linux/libc-compat.h in uapi/if_ether.h. >> >> linux/libc-compat.h checks which "features" the header file

Re: [PATCH] uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define

2018-02-12 Thread Hauke Mehrtens
On 02/12/2018 11:59 PM, Hauke Mehrtens wrote: > This fixes a compile problem of some user space applications by not > including linux/libc-compat.h in uapi/if_ether.h. > > linux/libc-compat.h checks which "features" the header files, included > from the libc, provide to make the Linux kernel uapi

[PATCH] uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define

2018-02-12 Thread Hauke Mehrtens
This fixes a compile problem of some user space applications by not including linux/libc-compat.h in uapi/if_ether.h. linux/libc-compat.h checks which "features" the header files, included from the libc, provide to make the Linux kernel uapi header files only provide no conflicting structures and