diff mbox series

libnetlink: include endian.h for htobe64

Message ID D2RI7Q8MEQEJ.3KAN74XCKVF8B@ayaya.dev (mailing list archive)
State Not Applicable
Headers show
Series libnetlink: include endian.h for htobe64 | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

psykose July 17, 2024, 3:44 a.m. UTC
fixes build against musl libc which is more strict about header namespaces.

Signed-off-by: psykose <alice@ayaya.dev>
---
 include/libnetlink.h | 1 +
 1 file changed, 1 insertion(+)


base-commit: af9559b23367b01d0f1184c75cdf0cab9c6930ac
diff mbox series

Patch

diff --git a/include/libnetlink.h b/include/libnetlink.h
index 30f0c2d2..0139efa0 100644
--- a/include/libnetlink.h
+++ b/include/libnetlink.h
@@ -2,6 +2,7 @@ 
 #ifndef __LIBNETLINK_H__
 #define __LIBNETLINK_H__ 1
 
+#include <endian.h>
 #include <stdio.h>
 #include <string.h>
 #include <asm/types.h>