Skip to content

Commit

Permalink
iproute2: fix tc-tiny build failure
Browse files Browse the repository at this point in the history
htobe64 usage requires including endian.h, otherwise tc-tiny fails to build.

Signed-off-by: Rui Salvaterra <[email protected]>
  • Loading branch information
rsalvaterra committed Oct 5, 2024
1 parent 3a168e3 commit 6699d3c
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Index: iproute2-6.11.0/include/libnetlink.h
===================================================================
--- iproute2-6.11.0.orig/include/libnetlink.h
+++ iproute2-6.11.0/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>

0 comments on commit 6699d3c

Please sign in to comment.