[PATCH] Factorize net/ethernet.h
Samuel Thibault
samuel.thibault@gnu.org
Mon Jun 22 20:50:08 GMT 2026
Hello,
Samuel Thibault, le mer. 17 juin 2026 19:56:42 +0200, a ecrit:
> Florian Weimer, le mer. 17 juin 2026 10:36:59 +0200, a ecrit:
> > * Samuel Thibault:
> >
> > > The Linux version is much more up to date, and is OS-independent.
> > >
> > > This introduces net/if_ether.h which just pulls linux/if_ether.h, like
> > > many other such compatibility headers.
> >
> > Do we want applications to include <net/if_ether.h>?
>
> That's a common thing on BSD systems, like the other net/if_*.h
So, do we prefer to hide it in bits/ on Linux? I see that dietlibc does
ship a net/if_ether.h on Linux.
Samuel
More information about the Libc-alpha
mailing list