diff options
author | Felix Fietkau <nbd@nbd.name> | 2024-05-07 12:18:08 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2024-05-07 12:50:27 +0200 |
commit | c3d4598c0129671d534e5556d25b00229fc22095 (patch) | |
tree | 44051efd2465adb32953ad904dc5aab720c6f722 /tools/include/asm/byteorder.h | |
parent | 931b2bafa7a60eb722082a889740e94a7fef7e8c (diff) |
tools: add more linux include files to fix x86 build on macos
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/include/asm/byteorder.h')
-rw-r--r-- | tools/include/asm/byteorder.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <endian.h> + +#if __BYTE_ORDER == __LITTLE_ENDIAN +#include <linux/byteorder/little_endian.h> +#else +#include <linux/byteorder/big_endian.h> +#endif + +#endif |