#ifndef BYTEORDER_H_ #define BYTEORDER_H_ #ifdef HAVE_CONFIG_H # include "config.h" #endif #ifdef WORDS_BIGENDIAN uint16_t letohs(uint16_t); uint32_t letohl(uint32_t); #else # define letohs(x) (x) # define letohl(x) (x) #endif #endif