From c3d4598c0129671d534e5556d25b00229fc22095 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 7 May 2024 12:18:08 +0200 Subject: tools: add more linux include files to fix x86 build on macos Signed-off-by: Felix Fietkau --- tools/include/asm/byteorder.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tools/include/asm/byteorder.h (limited to 'tools/include/asm/byteorder.h') diff --git a/tools/include/asm/byteorder.h b/tools/include/asm/byteorder.h new file mode 100644 index 0000000000..8e7d779d7d --- /dev/null +++ b/tools/include/asm/byteorder.h @@ -0,0 +1,12 @@ +#ifndef __ASM_BYTEORDER_H +#define __ASM_BYTEORDER_H + +#include + +#if __BYTE_ORDER == __LITTLE_ENDIAN +#include +#else +#include +#endif + +#endif -- cgit v1.2.3