Message ID | 20240712191209.31324-1-contact@hacktivis.me (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [1/2] libnetlink.h: Add <endian.h> for htobe64 | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
On Fri, Jul 12, 2024 at 09:12:08PM +0200, Haelwenn (lanodan) Monnier wrote: > Required to build on musl (1.2.5) > > Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> > --- > include/libnetlink.h | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Alyssa Ross <hi@alyssa.is> > diff --git a/include/libnetlink.h b/include/libnetlink.h > index 30f0c2d..2b207e8 100644 > --- a/include/libnetlink.h > +++ b/include/libnetlink.h > @@ -3,6 +3,7 @@ > #define __LIBNETLINK_H__ 1 > > #include <stdio.h> > +#include <endian.h> > #include <string.h> > #include <asm/types.h> > #include <linux/netlink.h> > -- > 2.44.2 >
diff --git a/include/libnetlink.h b/include/libnetlink.h index 30f0c2d..2b207e8 100644 --- a/include/libnetlink.h +++ b/include/libnetlink.h @@ -3,6 +3,7 @@ #define __LIBNETLINK_H__ 1 #include <stdio.h> +#include <endian.h> #include <string.h> #include <asm/types.h> #include <linux/netlink.h>
Required to build on musl (1.2.5) Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> --- include/libnetlink.h | 1 + 1 file changed, 1 insertion(+)