openwrt/tools/include/asm/byteorder.h
Felix Fietkau c3d4598c01 tools: add more linux include files to fix x86 build on macos
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2024-05-07 12:50:27 +02:00

13 lines
214 B
C

#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