#ifndef BYTE_ORDER
/*
 * Definitions for byte order,
 * according to byte significance from low address to high.
 */
#define LITTLE_ENDIAN   1234    /* least-significant byte first (vax) */
#define BIG_ENDIAN      4321    /* most-significant byte first (IBM, net) */
#define PDP_ENDIAN      3412    /* LSB first in word, MSW first in long (pdp) */

#define BYTE_ORDER      LITTLE_ENDIAN

extern unsigned long ntohl(unsigned long), htonl(unsigned long);
extern int ntohs(int), htons(int);

#define NTOHS(a) (a = ntohs(a))
#define NTOHL(a) (a = ntohl(a))
#define HTONS(a) (a = htons(a))
#define HTONL(a) (a = htonl(a))

#endif
