Skip to contentSkip to conversation

libnetlink: include endian.h for htobe64

PATCH New psykose 1 participant 1 message Jul 17, 2024

Subsystems (2)
lore
Share & tools
lore

psykose

author
#0 lore raw

PATCH 1/1 libnetlink: include endian.h for htobe64

fixes build against musl libc which is more strict about header namespaces.

---
 include/libnetlink.h | 1 +
 1 file changed, 1 insertion(+)
include/libnetlink.h +1 -0
index 30f0c2d2..0139efa0 100644
@@ -2,6 +2,7 @@
 #ifndef __LIBNETLINK_H__
 #define __LIBNETLINK_H__ 1
 
+#include <endian.h>
 #include <stdio.h>
 #include <string.h>
 #include <asm/types.h>

base-commit: af9559b23367b01d0f1184c75cdf0cab9c6930ac

Signature · 1 line
2.45.2