/* $NetBSD: endian.h,v 1.15 1999/08/21 05:53:52 simonb Exp $ */ #ifndef _VAX_ENDIAN_H_ #define _VAX_ENDIAN_H_ #define _BYTE_ORDER _LITTLE_ENDIAN #include #ifdef __GNUC__ #include #define ntohl(x) __byte_swap_long(x) #define ntohs(x) __byte_swap_word(x) #define htonl(x) __byte_swap_long(x) #define htons(x) __byte_swap_word(x) #endif #endif /* _VAX_ENDIAN_H_ */