and move the definition from endian.h to sys/endian.h Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>