]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
libnetlink: add missing endian.h
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 12 Dec 2024 19:24:18 +0000 (11:24 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 12 Dec 2024 23:22:22 +0000 (15:22 -0800)
Need endian.h to get htobe64 with musl.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
include/libnetlink.h

index 30f0c2d22d49c87175b58973d2b34a42310a4b33..7074e913b45fb171b625bfa88ed730ee3b0f3999 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <endian.h>
 #include <asm/types.h>
 #include <linux/netlink.h>
 #include <linux/rtnetlink.h>