added <endian.h>