Removed dependence of endian.h.